WC_Helper::load() public WC 1.0
Loads the helper class, runs on init.
{} Это метод класса: WC_Helper{}
Хуки из метода
Возвращает
Null. Ничего.
Использование
$result = WC_Helper::load();
Код WC_Helper::load() WC Helper::load WC 5.0.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' );
}