global_terms_enabled хук-фильтр . WP 3.0.0
Filters whether global terms are enabled.
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.
Использование
add_filter( 'global_terms_enabled', 'filter_function_name_728' ); function filter_function_name_728( $enabled ){ // filter... return $enabled; }
- $enabled(null)
- Whether global terms are enabled.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
global_terms_enabled
wp-includes/functions.php 5715
$filter = apply_filters( 'global_terms_enabled', null );