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:
  • () load_separate_assets Whether separate assets will be loaded. Default false (all block assets are loaded, even when not used).
    Richiesto: Sì
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.




Sorgenti

return apply_filters( 'should_load_separate_core_block_assets', false );