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: - Introduced in WordPress: 4.9.8
- Deprecated in WordPress: —
Description
Registers a meta key for terms.