WP_REST_Terms_Controller::check_is_taxonomy_allowed

SummerySummery

Checks that the taxonomy is valid.

Syntax

WP_REST_Terms_Controller::check_is_taxonomy_allowed( string $taxonomy )

ParametersParameters

$taxonomy

(string) (Required) Taxonomy to check.

ReturnReturn

(bool) Whether the taxonomy is allowed for REST management.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top