unregister_taxonomy

SummerySummery

Unregisters a taxonomy.

Syntax

unregister_taxonomy( string $taxonomy )

DescriptionDescription

Can not be used to unregister built-in taxonomies.

ParametersParameters

$taxonomy

(string) (Required) Taxonomy name.

ReturnReturn

(bool|WP_Error) True on success, WP_Error on failure or if the taxonomy doesn't exist.

SourceSource

File: wp-includes/taxonomy.php


			

ChangelogChangelog

Changelog
Version Description
4.5.0 Introduced.
Scroll to Top