ActionScheduler_Store_Deprecated::mark_failed_fetch_action()publicWC 2.2.6

Mark an action that failed to fetch correctly as failed.

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

Хуков нет.

Возвращает

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

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

$ActionScheduler_Store_Deprecated = new ActionScheduler_Store_Deprecated();
$ActionScheduler_Store_Deprecated->mark_failed_fetch_action( $action_id );
$action_id(int) (обязательный)
The ID of the action.

Список изменений

С версии 2.2.6 Введена.

Код ActionScheduler_Store_Deprecated::mark_failed_fetch_action() WC 8.7.0

public function mark_failed_fetch_action( $action_id ) {
	_deprecated_function( __METHOD__, '3.0.0', 'ActionScheduler_Store::mark_failure()' );
	self::$store->mark_failure( $action_id );
}