PHP Class TitanFrameworkChecker

Since: 1.6
显示文件 Open project: gambitph/titan-framework Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor, add hooks for checking for Titan Framework.
display_install_or_active_notice ( ) Checks the existence of Titan Framework and prompts the display of a notice.
plugin_exists ( ) : boolean Checks the existence of Titan Framework in the list of plugins.
tgm_plugin_activation_include ( ) : void Includes Titan Framework in TGM Plugin Activation if it's available.

Method Details

__construct() public method

Constructor, add hooks for checking for Titan Framework.
Since: 1.6
public __construct ( )

display_install_or_active_notice() public method

Checks the existence of Titan Framework and prompts the display of a notice.
Since: 1.6

plugin_exists() public method

It uses the slug path of the plugin for checking.
Since: 1.6
public plugin_exists ( ) : boolean
return boolean True if Titan Framework is installed (even if not activated).

tgm_plugin_activation_include() public method

Includes Titan Framework in TGM Plugin Activation if it's available.
See also: http://tgmpluginactivation.com/
Since: 1.7.4