global_terms_enabled

global_terms_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.0.3

apply_filters('global_terms_enabled') is found 1 times:

  • /wp-includes/functions.php line 6241
    6237
    6238
    6239
    6240
    6241
    6242
    6243
    6244
    6245
    6246
    6247
         * @since 3.0.0
         *
         * @param null $enabled Whether global terms are enabled.
         */
        $filter = apply_filters( 'global_terms_enabled', null );
        if ( ! is_null( $filter ) ) {
            $global_terms = (bool) $filter;
        } else {
            $global_terms = (bool) get_site_option( 'global_terms_enabled', false );
        }
    }