WC_Helper::load()public staticWC 1.0

Loads the helper class, runs on init.

Method of the class: WC_Helper{}

Hooks from the method

Return

null. Nothing (null).

Usage

$result = WC_Helper::load();

WC_Helper::load() code WC 8.7.0

public static function load() {
	self::includes();

	add_action( 'current_screen', array( __CLASS__, 'current_screen' ) );
	add_action( 'woocommerce_helper_output', array( __CLASS__, 'render_helper_output' ) );
	add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_enqueue_scripts' ) );
	add_action( 'admin_notices', array( __CLASS__, 'admin_notices' ) );

	do_action( 'woocommerce_helper_loaded' );
}