Tribe__Events__Editor::is_edit_screen()
Check whether the current page is an edit post type page.
Top ↑
File: src/Tribe/Editor.php
public function is_edit_screen() {
$current_screen = get_current_screen();
return 'post' === $current_screen->base;
}
Expand full source code
Collapse full source code
Top ↑
Changelog
Version |
Description |
6.2.7 |
Adding support to load on site editor screen. |
5.12.0 |
Introduced. |