W3cubDocs

/WordPress

apply_filters( 'global_terms_enabled', null $enabled )

Filters whether global terms are enabled.

Description

Returning a non-null value from the filter will effectively short-circuit the function and return the value of the ‘global_terms_enabled’ site option instead.

Parameters

$enabled

(null) Whether global terms are enabled.

Source

File: wp-includes/functions.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/global_terms_enabled