ActionScheduler_HybridStore::mark_failure() public WC 1.0
Mark an existing action as failed whether migrated or not.
{} It's a method of the class: ActionScheduler_HybridStore{}
No Hooks.
Return
null
. Nothing.
Usage
$ActionScheduler_HybridStore = new ActionScheduler_HybridStore(); $ActionScheduler_HybridStore->mark_failure( $action_id );
- $action_id(int) (required)
- Action ID.
Code of ActionScheduler_HybridStore::mark_failure() ActionScheduler HybridStore::mark failure WC 5.2.2
public function mark_failure( $action_id ) {
$store = $this->get_store_from_action_id( $action_id );
if ( $store ) {
$store->mark_failure( $action_id );
}
}