wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



should_load_separate_core_block_assets › Filtr WordPress Hooks

Od5.8.0
Przestarzałyn/a
› apply_filters( 'should_load_separate_core_block_assets', false )
Parametry:
  • () load_separate_assets Whether separate assets will be loaded. Default false (all block assets are loaded, even when not used).
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

return apply_filters( 'should_load_separate_core_block_assets', false );