Page::is_on_page()
Defines wether the current page is the Event Tickets Attendees page.
Return
(boolean)
Source
File: src/Tickets/Admin/Attendees/Page.php
public function is_on_page(): bool {
$admin_pages = tribe( 'admin.pages' );
$admin_page = $admin_pages->get_current_page();
return ! empty( $admin_page ) && static::$slug === $admin_page;
}
Changelog
| Version | Description |
|---|---|
| 5.9.1 | Introduced. |