Automattic\WooCommerce\Internal\Admin

Events::init()publicWC 1.0

Cron event handlers.

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

Хуков нет.

Возвращает

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

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

$Events = new Events();
$Events->init();

Код Events::init() WC 8.7.0

public function init() {
	add_action( 'wc_admin_daily', array( $this, 'do_wc_admin_daily' ) );
	add_filter( 'woocommerce_get_note_from_db', array( $this, 'get_note_from_db' ), 10, 1 );

	// Initialize the WC_Notes_Refund_Returns Note to attach hook.
	\WC_Notes_Refund_Returns::init();
}