Tribe__Admin__Activation_Page::__construct( array $args = array() )
Handles the update/welcome splash screen.
Contents
Parameters
- $args
-
(array) (Optional) Plugin specific slugs and option names used to manage when the splash screen displays.
- 'slug'
(string) - 'version'
(string) - 'plugin_path'
(string) - 'version_history_slug'
(string) - 'update_page_title'
(string) - 'update_page_template'
(string) - 'welcome_page_title'
(string) - 'welcome_page_template'
(string)
Default value: array()
- 'slug'
Source
File: src/Tribe/Admin/Activation_Page.php
public function __construct( array $args = array() ) {
$this->args = wp_parse_args( $args, array(
'slug' => '',
'activation_transient' => '',
'version' => '',
'plugin_path' => '',
'version_history_slug' => '',
'update_page_title' => '',
'update_page_template' => '',
'welcome_page_title' => '',
'welcome_page_template' => '',
) );
$this->update_slug .= $this->args['slug'];
$this->welcome_slug .= $this->args['slug'];
$this->hooks();
}