Automattic\WooCommerce\Internal\StockNotifications

DataRetentionController::clear_daily_task │ public │ WC 1.0

Unschedule the daily task when the plugin is deactivated, or the option is set to zero.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$DataRetentionController = new DataRetentionController();
$DataRetentionController->clear_daily_task();

Код DataRetentionController::clear_daily_task() WC 11.2.2

public function clear_daily_task() {
	wp_clear_scheduled_hook( self::DAILY_TASK_HOOK );
}