WC_Helper::load()
Loads the helper class, runs on init.
{} It's a method of the class: WC_Helper{}
Hooks from the method
Return
null
. Nothing.
Usage
$result = WC_Helper::load();
Code of WC_Helper::load() WC Helper::load WC 6.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' ); }