enabled() ) { return; } add_filter( 'use_block_editor_for_post_type', '__return_false' ); add_filter( 'use_widgets_block_editor', '__return_false' ); } /** * Whether the feature is enabled. * * @return bool */ private function enabled(): bool { return (bool) aiou()->settings()->get_value( 'performance', 'editor', 'classic_editor', 0 ); } }