Summery Summery
Get all meta data, including meta IDs, for the given term ID.
Syntax Syntax
Parameters Parameters
- $term_id
-
(Required) Term ID.
Return Return
(array|false) Array with meta data, or false when the meta table is not installed.
Source Source
File: wp-includes/taxonomy.php
* If the meta field for the term does not exist, it will be added. * * @since 4.4.0 * * @param int $term_id Term ID. * @param string $meta_key Metadata key. * @param mixed $meta_value Metadata value. Must be serializable if non-scalar. * @param mixed $prev_value Optional. Previous value to check before updating. * If specified, only update existing metadata entries with * this value. Otherwise, update all entries. Default empty.
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |