Class TS_Welcome
TS_Welcome Class
A general class for About page.
Methods summary
public
|
#
__construct( $ts_plugin_name = '', $ts_plugin_prefix = '', $ts_plugin_context = '', $ts_plugin_folder_name = '', $ts_plugin_dir_name = '' , $ts_previous_version = '' )
Get things started |
public
|
|
public
string
|
|
public
string
|
|
public
|
#
admin_menus( )
Register the Dashboard Page which is later hidden but this pages is used to render the Welcome page. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
ts_pro_welcome( )
Sends user to the Welcome page on first activation of the plugin as well as each time the plugin is updated is upgraded to a new version |
public
|
Properties summary
public
string
|
$minimum_capability
The capability users should have to view the page |
#
'manage_options'
|
public static
string
|
$plugin_name
The name of the plugin |
#
""
|
public static
string
|
$plugin_prefix
Unique prefix of the plugin |
#
''
|
public static
Plugin
|
$plugin_context
Context |
#
''
|
public static
string
|
$plugin_folder
Folder of the plugin |
#
''
|
public static
string
|
$plugin_version
Plugin live version |
#
''
|
public static
string
|
$previous_plugin_version
Plugin previous version |
#
''
|
public static
string
|
$plugin_url
Plugin Url |
#
''
|
public static
string
|
$template_base
Template base path |
#
''
|
public static
string
|
$plugin_file_path
Plugin dir name with plugin file name |
#
''
|