Tribe__Admin__Help_Page::is_current_page()
Checks if the current page is the Help one
Return
(bool)
Source
File: src/Tribe/Admin/Help_Page.php
public function is_current_page() {
return Tribe__Admin__Helpers::instance()->is_screen( 'tribe_events_page_tribe-help' ) || Tribe__Admin__Helpers::instance()->is_screen( 'settings_page_tribe-common-help-network' );
}
Changelog
| Version | Description |
|---|---|
| 5.1.12 | Verifying that the current page is a screen |
| 4.5.7 | Introduced. |