Function: has_term_meta

has_term_meta( integer $term_id )

Get all meta data, including meta IDs, for the given term ID.

Shortcut: htm

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$term_id integer

Term ID.


array | false

Array with meta data, or false when the meta table is not installed.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.