WC_Product_Usage_Notice::load()
Loads the class, runs on init.
Метод класса: WC_Product_Usage_Notice{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WC_Product_Usage_Notice::load();
Код WC_Product_Usage_Notice::load() WC Product Usage Notice::load WC 9.4.2
public static function load() { add_action( 'current_screen', array( __CLASS__, 'maybe_show_product_usage_notice' ) ); add_action( 'wp_ajax_woocommerce_dismiss_product_usage_notice', array( __CLASS__, 'ajax_dismiss' ) ); add_action( 'wp_ajax_woocommerce_remind_later_product_usage_notice', array( __CLASS__, 'ajax_remind_later' ) ); }