Tribe__Editor::is_blocks_editor_active()
Checks if we have Editor Block active.
Top ↑
File: src/Tribe/Editor.php
public function is_blocks_editor_active() {
return function_exists( 'register_block_type' ) && function_exists( 'unregister_block_type' );
}
Expand full source code
Collapse full source code