register_term_meta


register_term_meta ( $taxonomy, $meta_key, $args )

Parameters:
  • (string) taxonomy Taxonomy to register a meta key for. Pass an empty string to register the meta key across all existing taxonomies.
  • (string) meta_key The meta key to register.
  • (array) args Data used to describe the meta key when registered. See {@see} for a list of supported arguments.
Returns:
  • (bool) True if the meta key was successfully registered, false if not.
Defined at:

Description

Registers a meta key for terms.

Related Functions

unregister_term_meta, register_meta, register_post_meta, unregister_post_meta, get_term_meta

Top Google Results

User discussions

wpseek mobile