Changeset 45894
- Timestamp:
- 08/26/2019 03:23:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r45735 r45894 471 471 * 472 472 * @param string|array $args { 473 * Array of optional arguments. 474 * 475 * @type int $child_of Term ID to retrieve child terms of. See get_terms(). Default 0.473 * Array of optional arguments. See get_categories(), get_terms(), and WP_Tax_Query::construct() 474 * for full lists of arguments that can be passed in `$args`. 475 * 476 476 * @type int|array $current_category ID of category, or array of IDs of categories, that should get the 477 477 * 'current-cat' class. Default 0. … … 489 489 * @type string $feed_type Feed type. Used to build feed link. See get_term_feed_link(). 490 490 * Default empty string (default feed). 491 * @type bool|int $hide_empty Whether to hide categories that don't have any posts attached to them.492 * Default 1.493 491 * @type bool $hide_title_if_empty Whether to hide the `$title_li` element if there are no terms in 494 492 * the list. Default false (title will always be shown). 495 * @type bool $hierarchical Whether to include terms that have non-empty descendants.496 * See get_terms(). Default true.497 * @type string $order Which direction to order categories. Accepts 'ASC' or 'DESC'.498 * Default 'ASC'.499 * @type string $orderby The column to use for ordering categories. Default 'name'.500 493 * @type string $separator Separator between links. Default '<br />'. 501 494 * @type bool|int $show_count Whether to show how many posts are in the category. Default 0. … … 506 499 * will be output as an unordered list. If left empty or another value, 507 500 * categories will be output separated by `<br>` tags. Default 'list'. 508 * @type string $taxonomy Taxonomy name. Default 'category'.509 501 * @type string $title_li Text to use for the list title `<li>` element. Pass an empty string 510 502 * to disable. Default 'Categories'.
Note: See TracChangeset
for help on using the changeset viewer.