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
-
Whether global terms are enabled.
Source
Changelog
Version | Description |
---|---|
WP-3.0.0 | Introduced. |