wpseek.com
WordPress开发者和主题制作者的搜索引擎
should_load_separate_core_block_assets › WordPress过滤钩子
Since5.8.0
已弃用n/a
› apply_filters( 'should_load_separate_core_block_assets', false )
| 参数: |
|
| 定义在: |
|
| 文档: |
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, 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