unregister_term_meta

Advertisement

Summery Summery

Unregisters a meta key for terms.

Syntax Syntax

unregister_term_meta( string $taxonomy, string $meta_key )

Parameters Parameters

$taxonomy

(Required) Taxonomy the meta key is currently registered for. Pass an empty string if the meta key is registered across all existing taxonomies.

$meta_key

(Required) The meta key to unregister.

Return Return

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

Source Source

File: wp-includes/taxonomy.php

 *
 * @since 4.9.0
 *

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.8 Introduced.

Advertisement

Leave a Reply