Classic_Editor::__construct( \WP_Screen $screen )
Classic_Editor constructor.
Parameters
- $screen
-
(Required)
Source
File: includes/libs/admin/editor/classic-editor.class.php
public function __construct( \WP_Screen $screen ) { // allow only on classic editor if( !$screen->is_block_editor && 'post' == $screen->base ){ $this->screen = $screen; $this->init(); } }