Changeset 46596 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 10/26/2019 09:07:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r46424 r46596 1133 1133 * parameter will be interpreted as `$args`, and the first function parameter will 1134 1134 * be parsed as a taxonomy or array of taxonomies. 1135 * @return array|int|WP_Error List of WP_Term instances and their children. Will return WP_Error, if any of taxonomies1136 * do not exist.1135 * @return WP_Term[]|int|WP_Error List of WP_Term instances and their children. Will return WP_Error, if any of taxonomies 1136 * do not exist. 1137 1137 */ 1138 1138 function get_terms( $args = array(), $deprecated = '' ) { … … 3220 3220 * @global bool $_wp_suspend_cache_invalidation 3221 3221 * 3222 * @param int| array $ids Single or list of Term IDs.3223 * @param string $taxonomy Optional. Can be empty and will assume `tt_ids`, else will use for context.3224 * Default empty.3222 * @param int|int[] $ids Single or array of term IDs. 3223 * @param string $taxonomy Optional. Taxonomy slug. Can be empty, in which case the taxonomies of the passed 3224 * term IDs will be used. Default empty. 3225 3225 * @param bool $clean_taxonomy Optional. Whether to clean taxonomy wide caches (true), or just individual 3226 3226 * term object caches (false). Default true. … … 3437 3437 * @since 2.3.0 3438 3438 * 3439 * @param array $terms Listof term objects to change.3440 * @param string $taxonomy Optional. Update Term to this taxonomy in cache. Default empty.3439 * @param WP_Term[] $terms Array of term objects to change. 3440 * @param string $taxonomy Not used. 3441 3441 */ 3442 3442 function update_term_cache( $terms, $taxonomy = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.