Changeset 47610 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 04/22/2020 09:38:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r47578 r47610 1247 1247 * @param int $term_id Term ID. 1248 1248 * @param string $key Optional. The meta key to retrieve. If no key is provided, fetches all metadata for the term. 1249 * @param bool $single Whether to return a single value. If false, an array of all values matching the1250 * `$term_id`/`$key` pair will be returned. Default :false.1249 * @param bool $single Optional. Whether to return a single value. If false, an array of all values matching the 1250 * `$term_id`/`$key` pair will be returned. Default false. 1251 1251 * @return mixed If `$single` is false, an array of metadata values. If `$single` is true, a single metadata value. 1252 1252 */ … … 1267 1267 * @param string $meta_key Metadata key. 1268 1268 * @param mixed $meta_value Metadata value. 1269 * @param mixed $prev_value Optional. Previous value to check before removing.1269 * @param mixed $prev_value Optional. Previous value to check before updating. Default empty. 1270 1270 * @return int|WP_Error|bool Meta ID if the key didn't previously exist. True on successful update. 1271 1271 * WP_Error when term_id is ambiguous between taxonomies. False on failure.
Note: See TracChangeset
for help on using the changeset viewer.