Skip to content

Commit 780c345

Browse files
authored
Merge pull request #111 from jcvignoli/master
added is_block_editor() method in WP_Screen class
2 parents 05ab6a9 + f6b20c3 commit 780c345

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

stubs/WordPress/class-wp-screen.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,16 @@ final class WP_Screen {
1111
* @var string
1212
*/
1313
public $id;
14+
15+
/**
16+
* @var bool
17+
*/
18+
public $is_block_editor = false;
19+
20+
/**
21+
* @param bool|null $set
22+
*
23+
* @return bool
24+
*/
25+
public function is_block_editor( $set = null ) {}
1426
}

0 commit comments

Comments
 (0)