On this page
unregister_term_meta( string $taxonomy, string $meta_key ): bool
Unregisters a meta key for terms.
Parameters
$taxonomystring Required-
Taxonomy the meta key is currently registered for. Pass an empty string if the meta key is registered across all existing taxonomies.
$meta_keystring Required-
The meta key to unregister.
Return
bool True on success, false if the meta key was not previously registered.
Source
File: wp-includes/taxonomy.php. View all references
function unregister_term_meta( $taxonomy, $meta_key ) {
return unregister_meta_key( 'term', $meta_key, $taxonomy );
}
Related
Uses
| Uses | Description |
|---|---|
| unregister_meta_key() wp-includes/meta.php | Unregisters a meta key from the list of registered keys. |
Changelog
| Version | Description |
|---|---|
| 4.9.8 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/unregister_term_meta