WC_Helper::load()public staticWC 1.0

Loads the helper class, runs on init.

Метод класса: WC_Helper{}

Хуки из метода

Возвращает

null. Ничего (null).

Использование

$result = WC_Helper::load();

Код WC_Helper::load() 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' );
}