Automattic\WooCommerce\Admin\API

MobileAppQRLogin::release_token_approval_claimprivateWC 1.0

Release a token approval claim owned by this request.

Method of the class: MobileAppQRLogin{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->release_token_approval_claim( $token_hash );
$token_hash(string) (required)
SHA-256 hash of the plaintext token.

MobileAppQRLogin::release_token_approval_claim() code WC 11.0.1

private function release_token_approval_claim( $token_hash ) {
	delete_option( self::APPROVE_CLAIM_OPTION_PREFIX . $token_hash );
}