WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

OrderMilestones::init() public WC 1.0

Hook everything up.

{} It's a method of the class: OrderMilestones{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of OrderMilestones::init() WC 5.2.2

<?php
public function init() {
	if ( ! wp_next_scheduled( self::PROCESS_ORDERS_MILESTONE_HOOK ) ) {
		wp_schedule_event( time(), 'hourly', self::PROCESS_ORDERS_MILESTONE_HOOK );
	}

	add_action( 'wc_admin_installed', array( $this, 'backfill_last_milestone' ) );

	add_action( self::PROCESS_ORDERS_MILESTONE_HOOK, array( $this, 'other_milestones' ) );
}