Tribe__Tickets__Attendee_Registration__Main::is_on_page()
Returns whether or not the user is on the attendee registration page
Return
(bool)
Source
File: src/Tribe/Attendee_Registration/Main.php
public function is_on_page() {
global $wp_query;
return ! empty( $wp_query->query_vars[ $this->key_query_var ] ) ;
}
Changelog
| Version | Description |
|---|---|
| 4.9 | Introduced. |