wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



should_load_block_editor_scripts_and_styles › Hooks de Filtros WordPress

Desde5.6.0
Obsoleton/a
apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen )
Parâmetros:
  • (bool) $is_block_editor_screen Current value of the flag.
    Required: Yes
Definido em:
Codex:

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





Fonte

return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen );