Automattic\WooCommerce\Internal\Admin

Events::init()publicWC 1.0

Cron event handlers.

Method of the class: Events{}

No Hooks.

Return

null. Nothing.

Usage

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

Events::init() code WC 7.1.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();
}