unregister_term_meta( string $taxonomy, string $meta_key ): bool

In this article

Unregisters a meta key for terms.

Parameters

$taxonomystringrequired
Taxonomy the meta key is currently registered for. Pass an empty string if the meta key is registered across all existing taxonomies.
$meta_keystringrequired
The meta key to unregister.

Return

bool True on success, false if the meta key was not previously registered.

Source

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

Changelog

VersionDescription
4.9.8Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.