WC_Helper_API_Backoff::clear
Clear any recorded backoff for a request type.
Method of the class: WC_Helper_API_Backoff{}
No Hooks.
Returns
void. Nothing (null).
Usage
$result = WC_Helper_API_Backoff::clear( $request_type ): void;
- $request_type(string) (required)
- The Helper API request type (e.g. 'update-check').
WC_Helper_API_Backoff::clear() WC Helper API Backoff::clear code WC 11.3.0
public static function clear( string $request_type ): void {
delete_transient( self::get_transient_key( $request_type ) );
}