wp_should_load_block_editor_scripts_and_styles
wp_should_load_block_editor_scripts_and_styles ( No parameters )
Returns:- (bool) Whether scripts and styles should be enqueued.
Defined at: - Introduced in WordPress: 5.6.0
- Deprecated in WordPress: —
Description
Checks if the editor scripts and styles for all registered block types
should be enqueued on the current screen.