Automattic\WooCommerce\Internal\Admin\Notes

OrderMilestones::clear_scheduled_event()publicWC 1.0

Clear out our hourly milestone hook upon plugin deactivation.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of OrderMilestones::clear_scheduled_event() WC 7.1.0

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