You appear to be a bot. Output may be restricted
Description
Release actions from a claim and delete the claim.
Usage
ActionScheduler_DBStore::release_claim( $claim );
Parameters
- $claim
- ( ActionScheduler_ActionClaim ) required – Claim object.
Returns
void
Source
File name: woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php
Lines:
1 to 6 of 6
public function release_claim( ActionScheduler_ActionClaim $claim ) { /** @var \wpdb $wpdb */ global $wpdb; $wpdb->update( $wpdb->actionscheduler_actions, [ 'claim_id' => 0 ], [ 'claim_id' => $claim->get_id() ], [ '%d' ], [ '%d' ] ); $wpdb->delete( $wpdb->actionscheduler_claims, [ 'claim_id' => $claim->get_id() ], [ '%d' ] ); }