Filters the flag that decides whether or not block editor scripts and styles are going to be enqueued on the current screen.
$is_block_editor_screenbool
return apply_filters( 'should_load_block_editor_scripts_and_styles', $is_block_editor_screen );
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/should_load_block_editor_scripts_and_styles