WordPress at Your Fingertips
function is not described

ActionScheduler_DBStore::release_claim() public WC 1.0

Release actions from a claim and delete the claim.

{} It's a method of the class: ActionScheduler_DBStore{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_DBStore = new ActionScheduler_DBStore();
$ActionScheduler_DBStore->release_claim( $claim );
$claim(ActionScheduler_ActionClaim) (required)
Claim object.

Code of ActionScheduler_DBStore::release_claim() WC 6.1.1

public function release_claim( ActionScheduler_ActionClaim $claim ) {
	/** @var \wpdb $wpdb */
	global $wpdb;
	$wpdb->update( $wpdb->actionscheduler_actions, array( 'claim_id' => 0 ), array( 'claim_id' => $claim->get_id() ), array( '%d' ), array( '%d' ) );
	$wpdb->delete( $wpdb->actionscheduler_claims, array( 'claim_id' => $claim->get_id() ), array( '%d' ) );
}