Changeset 46891 for trunk/src/wp-includes/category.php
- Timestamp:
- 12/12/2019 04:45:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category.php
r45926 r46891 10 10 * Retrieve list of category objects. 11 11 * 12 * If you change the type to 'link' in the arguments, then the link categories 13 * will be returned instead. Also all categories will be updated to be backward 14 * compatible with pre-2.3 plugins and themes. 12 * If you set the 'taxonomy' argument to 'link_category', the link categories 13 * will be returned instead. 15 14 * 16 15 * @since 2.1.0 … … 20 19 * Optional. Arguments to retrieve categories. See get_terms() for additional options. 21 20 * 22 * @type string $taxonomy Taxonomy to retrieve terms for. In this case, default 'category'.21 * @type string $taxonomy Taxonomy to retrieve terms for. Default 'category'. 23 22 * } 24 * @return array List of categor ies.23 * @return array List of category objects. 25 24 */ 26 25 function get_categories( $args = '' ) { … … 79 78 * filters and finally sanitized based on the $filter parameter value. 80 79 * 81 * The category will converted to maintain backward compatibility.82 *83 80 * @since 1.5.1 84 81 * … … 337 334 338 335 /** 339 * Update category structure to old pre 336 * Update category structure to old pre-2.3 from new taxonomy structure. 340 337 * 341 338 * This function was added for the taxonomy support to update the new category
Note: See TracChangeset
for help on using the changeset viewer.