Automattic\WooCommerce\Internal\Admin
Events::init()
Cron event handlers.
Method of the class: Events{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Events = new Events(); $Events->init();
Events::init() Events::init code WC 9.7.1
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(); }