WC_Helper_API_Backoff::clear_all
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.
Метод класса: WC_Helper_API_Backoff{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$result = WC_Helper_API_Backoff::clear_all(): void;
Код WC_Helper_API_Backoff::clear_all() WC Helper API Backoff::clear all WC 11.2.2
public static function clear_all(): void {
foreach ( array_keys( self::get_all_bounds() ) as $request_type ) {
self::clear( $request_type );
}
}