WPDev.one
Core Function
View Source on Trac ↗

unregister_taxonomy_for_object_type()

unregister_taxonomy_for_object_type( mixed $taxonomy, mixed $object_type )

Removes an already registered taxonomy from an object type.

Parameters 2 required

Name / Type Description
$taxonomy
string

Name of taxonomy object.

Required
$object_type
string

Name of the object type.

Required

Return Value

(bool)
True if successful, false if not.

Function Information

Since Version
3.7.0
Source File
wp-includes/taxonomy.php
Advertisement