wpseek.com
A WordPress-centric search engine for devs and theme authors



unregister_term_meta › WordPress Function

Since4.9.8
Deprecatedn/a
unregister_term_meta ( $taxonomy, $meta_key )
Parameters: (2)
  • (string) $taxonomy Taxonomy the meta key is currently registered for. Pass an empty string if the meta key is registered across all existing taxonomies.
    Required: Yes
  • (string) $meta_key The meta key to unregister.
    Required: Yes
Returns:
  • (bool) True on success, false if the meta key was not previously registered.
Defined at:
Codex:

Unregisters a meta key for terms.



Source

function unregister_term_meta( $taxonomy, $meta_key ) {
	return unregister_meta_key( 'term', $meta_key, $taxonomy );
}