ActionScheduler_Store_Deprecated::mark_failed_fetch_action()publicWC 2.2.6

Mark an action that failed to fetch correctly as failed.

Method of the class: ActionScheduler_Store_Deprecated{}

No Hooks.

Return

null. Nothing (null).

Usage

$ActionScheduler_Store_Deprecated = new ActionScheduler_Store_Deprecated();
$ActionScheduler_Store_Deprecated->mark_failed_fetch_action( $action_id );
$action_id(int) (required)
The ID of the action.

Changelog

Since 2.2.6 Introduced.

ActionScheduler_Store_Deprecated::mark_failed_fetch_action() code 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 );
}