wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
should_load_separate_core_block_assets › WordPress Filter Hooks
Da5.8.0
Deprecaton/a
› apply_filters( 'should_load_separate_core_block_assets', false )
| Parametri: |
|
| Definito a: |
|
| 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.Funzioni correlate: wp_should_load_separate_core_block_assets, wp_should_load_block_assets_on_demand, _load_remote_block_patterns, build_template_part_block_variations, build_template_part_block_area_variations, wp_should_add_elements_class_name