Include empty template category in search
This commit is contained in:
@@ -83,7 +83,8 @@ class Wiaas_Template_Admin_Ajax {
|
||||
|
||||
$terms = get_terms(array(
|
||||
'taxonomy' => 'template_category',
|
||||
'name__like' => $term
|
||||
'name__like' => $term,
|
||||
'hide_empty' => false
|
||||
));
|
||||
|
||||
foreach ($terms as $t) {
|
||||
|
||||
Reference in New Issue
Block a user