Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



should_load_block_editor_scripts_and_styles ›

Seit5.6.0
Veraltetn/v
apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen )
Parameter:
  • (bool) $is_block_editor_screen Current value of the flag.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the flag that decides whether or not block editor scripts and styles are going to be enqueued on the current screen.





Quellcode

return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen );