Core Function
View Source on Trac ↗ has_term_meta()
has_term_meta( mixed $term_id ) Gets all meta data, including meta IDs, for the given term ID.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $term_id int | Term ID. Required |
Return Value
((array)
| false) Array with meta data, or false when the meta table is not installed.
Function Information
Since Version
4.9.0
Source File
wp-includes/taxonomy.php
Advertisement