Include empty template category in search

This commit is contained in:
Nedim Uka
2018-10-25 11:15:32 +02:00
parent 66452eee86
commit ef020f57e5

View File

@@ -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) {