Tribe__Admin__Activation_Page::register_page()
Dynamically registers the splash page when required.
Source
File: src/Tribe/Admin/Activation_Page.php
public function register_page() {
if ( isset( $_GET[ $this->welcome_slug ] ) ) {
$this->current_context = 'welcome';
} elseif ( isset( $_GET[ $this->update_slug ] ) ) {
$this->current_context = 'update';
}
if ( ! empty( $this->current_context ) ) {
$this->disable_default_settings_page();
add_action( Tribe__Settings::instance()->admin_page, array( $this, 'display_page' ) );
}
}