diff --git src/wp-includes/category-template.php src/wp-includes/category-template.php
index 438bbe9966..2e44fd7143 100644
|
|
function wp_dropdown_categories( $args = '' ) { |
468 | 468 | * optionally accept an array of values. |
469 | 469 | * |
470 | 470 | * @param string|array $args { |
471 | | * Array of optional arguments. |
| 471 | * Array of optional arguments. See get_categories(), get_terms(), and WP_Tax_Query::construct() |
| 472 | * for full lists of arguments that can be passed in `$args`. |
472 | 473 | * |
473 | | * @type int $child_of Term ID to retrieve child terms of. See get_terms(). Default 0. |
474 | 474 | * @type int|array $current_category ID of category, or array of IDs of categories, that should get the |
475 | 475 | * 'current-cat' class. Default 0. |
476 | 476 | * @type int $depth Category depth. Used for tab indentation. Default 0. |
… |
… |
function wp_dropdown_categories( $args = '' ) { |
486 | 486 | * @type string $feed_image URL of an image to use for the feed link. Default empty string. |
487 | 487 | * @type string $feed_type Feed type. Used to build feed link. See get_term_feed_link(). |
488 | 488 | * Default empty string (default feed). |
489 | | * @type bool|int $hide_empty Whether to hide categories that don't have any posts attached to them. |
490 | | * Default 1. |
491 | 489 | * @type bool $hide_title_if_empty Whether to hide the `$title_li` element if there are no terms in |
492 | 490 | * the list. Default false (title will always be shown). |
493 | | * @type bool $hierarchical Whether to include terms that have non-empty descendants. |
494 | | * See get_terms(). Default true. |
495 | | * @type string $order Which direction to order categories. Accepts 'ASC' or 'DESC'. |
496 | | * Default 'ASC'. |
497 | | * @type string $orderby The column to use for ordering categories. Default 'name'. |
498 | 491 | * @type string $separator Separator between links. Default '<br />'. |
499 | 492 | * @type bool|int $show_count Whether to show how many posts are in the category. Default 0. |
500 | 493 | * @type string $show_option_all Text to display for showing all categories. Default empty string. |
… |
… |
function wp_dropdown_categories( $args = '' ) { |
503 | 496 | * @type string $style The style used to display the categories list. If 'list', categories |
504 | 497 | * will be output as an unordered list. If left empty or another value, |
505 | 498 | * categories will be output separated by `<br>` tags. Default 'list'. |
506 | | * @type string $taxonomy Taxonomy name. Default 'category'. |
507 | 499 | * @type string $title_li Text to use for the list title `<li>` element. Pass an empty string |
508 | 500 | * to disable. Default 'Categories'. |
509 | 501 | * @type bool|int $use_desc_for_title Whether to use the category description as the title attribute. |