Uma área de pesquisa sobre o WordPress para devs e autores do tema



unregister_term_meta ›

Desde4.9.8
Obsoleton/a
unregister_term_meta ( $taxonomy, $meta_key )
Parâmetros: (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
Retorna:
  • (bool) True on success, false if the meta key was not previously registered.
Definido em:
Codex:

Unregisters a meta key for terms.



Fonte

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