WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

OrderMilestones::clear_scheduled_event() public WC 1.0

Clear out our hourly milestone hook upon plugin deactivation.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of OrderMilestones::clear_scheduled_event() WC 5.2.2

<?php
public function clear_scheduled_event() {
	wp_clear_scheduled_hook( self::PROCESS_ORDERS_MILESTONE_HOOK );
}