wpseek.com
A WordPress-centric search engine for devs and theme authors
should_load_separate_core_block_assets › WordPress Filter Hooks
Since5.8.0
Deprecatedn/a
› apply_filters( 'should_load_separate_core_block_assets', false )
Parameters: |
|
Defined at: |
|
Codex: |
Filters whether block styles should be loaded separately.
Returning false loads all core block assets, regardless of whether they are rendered in a page or not. Returning true loads core block assets only when they are rendered.
Related Functions: wp_should_load_separate_core_block_assets, _load_remote_block_patterns, build_template_part_block_variations, build_template_part_block_area_variations, wp_should_add_elements_class_name, strip_core_block_namespace