Automattic\WooCommerce\Internal\Admin\Notes

WooSubscriptionsNotes::__construct()publicWC 1.0

Hook all the things.

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

Хуков нет.

Возвращает

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

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

$WooSubscriptionsNotes = new WooSubscriptionsNotes();
$WooSubscriptionsNotes->__construct();

Код WooSubscriptionsNotes::__construct() WC 8.9.3

public function __construct() {
	add_action( 'admin_head', array( $this, 'admin_head' ) );
	add_action( 'update_option_woocommerce_helper_data', array( $this, 'update_option_woocommerce_helper_data' ), 10, 2 );
}