Created
March 26, 2015 06:53
-
-
Save iiiBird/d6fb4925b7b252d75931 to your computer and use it in GitHub Desktop.
Вывод пустых категорий
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function hide_cat_widget($args){ | |
$args ["hide_empty"] = 0; | |
return $args; | |
} | |
add_filter("widget_categories_args","hide_cat_widget"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment