WordPress at Your Fingertips
function is not described

ActionScheduler_DBStore::unclaim_action() public WC 1.0

Remove the claim from an action.

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

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_DBStore = new ActionScheduler_DBStore();
$ActionScheduler_DBStore->unclaim_action( $action_id );
$action_id(int) (required)
Action ID.

Code of ActionScheduler_DBStore::unclaim_action() WC 6.1.1

public function unclaim_action( $action_id ) {
	/** @var \wpdb $wpdb */
	global $wpdb;
	$wpdb->update(
		$wpdb->actionscheduler_actions,
		array( 'claim_id' => 0 ),
		array( 'action_id' => $action_id ),
		array( '%s' ),
		array( '%d' )
	);
}