apply_filters( 'global_terms_enabled', null $enabled )

Filters whether global terms are enabled.


Description

Passing a non-null value to the filter will effectively short-circuit the function, returning 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 GitHub



Changelog

Changelog
Version Description
WP-3.0.0 Introduced.