WordPress开发者和主题制作者的搜索引擎



unregister_term_meta ›

Since4.9.8
已弃用n/a
unregister_term_meta ( $taxonomy, $meta_key )
参数: (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
返回:
  • (bool) True on success, false if the meta key was not previously registered.
定义在:
文档:

Unregisters a meta key for terms.



源码

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