Changeset 45895
- Timestamp:
- 08/26/2019 04:59:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r45894 r45895 289 289 * @since 4.6.0 Introduced the `required` argument. 290 290 * 291 * @param string|array$args {291 * @param array|string $args { 292 292 * Optional. Array or string of arguments to generate a categories drop-down element. See WP_Term_Query::__construct() 293 293 * for information on additional accepted arguments. … … 322 322 * Default false. 323 323 * } 324 * @return string HTML content only if 'echo' argument is 0.324 * @return string HTML dropdown list of categories. 325 325 */ 326 326 function wp_dropdown_categories( $args = '' ) { … … 447 447 $output .= "</select>\n"; 448 448 } 449 449 450 /** 450 451 * Filters the taxonomy drop-down output. … … 460 461 echo $output; 461 462 } 463 462 464 return $output; 463 465 } … … 467 469 * 468 470 * @since 2.1.0 469 * @since 4.4.0 Introduced the `hide_title_if_empty` and `separator` arguments. The `current_category` argument was modified to470 * 471 * 472 * @param string|array$args {473 * Array of optional arguments. See get_categories(), get_terms(), and WP_T ax_Query::construct()474 * for full lists of arguments that can be passed in `$args`.471 * @since 4.4.0 Introduced the `hide_title_if_empty` and `separator` arguments. 472 * @since 4.4.0 The `current_category` argument was modified to optionally accept an array of values. 473 * 474 * @param array|string $args { 475 * Array of optional arguments. See get_categories(), get_terms(), and WP_Term_Query::__construct() 476 * for information on additional accepted arguments. 475 477 * 476 478 * @type int|array $current_category ID of category, or array of IDs of categories, that should get the … … 504 506 * Default 1. 505 507 * } 506 * @return false|string HTML contentonly if 'echo' argument is 0.508 * @return false|string HTML list of categories only if 'echo' argument is 0. 507 509 */ 508 510 function wp_list_categories( $args = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.