WC_Helper_API_Backoff::clear_all │ public static │ WC 1.0

Clear the recorded backoff for every known request type.

Called when the user clicks the Marketplace "Refresh" button so a manual refresh always resets rate-limit backoffs and forces fresh Helper API calls.

Method of the class: WC_Helper_API_Backoff{}

No Hooks.

Returns

void. Nothing (null).

Usage

$result = WC_Helper_API_Backoff::clear_all(): void;

WC_Helper_API_Backoff::clear_all() code WC 11.3.0

public static function clear_all(): void {
	foreach ( array_keys( self::get_all_bounds() ) as $request_type ) {
		self::clear( $request_type );
	}
}