Tribe__Admin__Activation_Page::hooks()
Listen for opportunities to show update and welcome splash pages.
Source
File: src/Tribe/Admin/Activation_Page.php
public function hooks() {
if (
tribe_is_truthy( get_option( 'tribe_skip_welcome', false ) )
|| tribe_is_truthy( tribe_get_option( 'skip_welcome', false ) )
) {
return;
}
add_action( 'admin_init', array( $this, 'maybe_redirect' ), 10, 0 );
add_action( 'admin_menu', array( $this, 'register_page' ), 100, 0 ); // come in after the default page is registered
add_action( 'update_plugin_complete_actions', array( $this, 'update_complete_actions' ), 15, 2 );
add_action( 'update_bulk_plugins_complete_actions', array( $this, 'update_complete_actions' ), 15, 2 );
}