Automattic\WooCommerce\Internal\StockNotifications
DataRetentionController::clear_daily_task
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() DataRetentionController::clear daily task WC 11.2.2
public function clear_daily_task() {
wp_clear_scheduled_hook( self::DAILY_TASK_HOOK );
}