PHP Class Shortcode_Button_105

This ensures each version is loaded/checked.
Since: 1.0.0
Author: Justin Sternberg ([email protected])
Show file Open project: jtsternberg/Shortcode_Button

Public Methods

Method Description
__construct ( ) Starts the version checking process.
fire_hook ( ) Fires the shortcode_button_load action hook.
include_lib ( ) A final check if Shortcode_Button exists before kicking off our Shortcode_Button loading.

Method Details

__construct() public method

Creates SHORTCODE_BUTTONS_LOADED definition for early detection by other scripts. Hooks Shortcode_Button inclusion to the shortcode_button_load hook on a high priority which decrements (increasing the priority) with each version release.
Since: 1.0.0
public __construct ( )

fire_hook() public static method

Fires the shortcode_button_load action hook.
Since: 1.0.0
public static fire_hook ( )

include_lib() public method

SHORTCODE_BUTTONS_VERSION and SHORTCODE_BUTTONS_DIR constants are set at this point.
Since: 1.0.0
public include_lib ( )