ActionScheduler_HybridStore::mark_failure()publicWC 1.0

Mark an existing action as failed whether migrated or not.

{} Это метод класса: ActionScheduler_HybridStore{}

Хуков нет.

Возвращает

null. Ничего.

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

$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->mark_failure( $action_id );
$action_id(int) (обязательный)
Action ID.

Код ActionScheduler_HybridStore::mark_failure() WC 6.9.4

public function mark_failure( $action_id ) {
	$store = $this->get_store_from_action_id( $action_id );
	if ( $store ) {
		$store->mark_failure( $action_id );
	}
}