should_load_block_editor_scripts_and_styles

should_load_block_editor_scripts_and_styles

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('should_load_block_editor_scripts_and_styles') is found 1 times:

  • /wp-includes/script-loader.php line 2565
    2561
    2562
    2563
    2564
    2565
    2566
    2567
    2568
    2569
    2570
    2571
         * @since 5.6.0
         *
         * @param bool $is_block_editor_screen Current value of the flag.
         */
        return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen );
    }
     
    /**
     * Checks whether separate styles should be loaded for core blocks on-render.
     *
     * When this function returns true, other functions ensure that core blocks

See this hook used in plugins: