wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
should_load_separate_core_block_assets › Hooks de Filtros WordPress
Desde5.8.0
Obsoleton/a
› apply_filters( 'should_load_separate_core_block_assets', false )
| Parâmetros: |
|
| Definido em: |
|
| 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.Funções relacionadas: 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