mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
a684d5d19d9e11b580e7be8dad17324fa0e38e61
hide_title_if_no_cats parameter to wp_list_categories().
When generating a `<ul>` using `wp_list_categories()`, a title `<li>` element is put at the top of the term list. Current behavior is that this title `<li>` appears even when no terms are found. The new `hide_title_if_no_cats` param allows developers to specify that the title should be hidden when the term list is empty. Props vilkatis. Fixes #33460. git-svn-id: https://develop.svn.wordpress.org/trunk@33764 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%