should_load_separate_core_block_assets

should_load_separate_core_block_assets

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('should_load_separate_core_block_assets') is found 1 times:

  • /wp-includes/script-loader.php line 2605
    	 *
    	 * @param bool $load_separate_assets Whether separate assets will be loaded.
    	 *                                   Default false (all block assets are loaded, even when not used).
    	 */
    	return apply_filters( 'should_load_separate_core_block_assets', false );
    }
    
    /**
     * Enqueues registered block scripts and styles, depending on current rendered
     * context (only enqueuing editor scripts while in context of the editor).
     *
    

See this hook used in plugins: