Core Function
View Source on Trac ↗ unregister_term_meta()
unregister_term_meta( mixed $taxonomy, mixed $meta_key ) Unregisters a meta key for terms.
Parameters 2 required
| Name / Type | Description |
|---|---|
| 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 |
| $meta_key string | The meta key to unregister. Required |
Return Value
(bool)
True on success, false if the meta key was not previously registered.
Function Information
Since Version
4.9.8
Source File
wp-includes/taxonomy.php
Advertisement