WC_Helper_API_Backoff::clear
Clear any recorded backoff for a request type.
Метод класса: WC_Helper_API_Backoff{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$result = WC_Helper_API_Backoff::clear( $request_type ): void;
- $request_type(строка) (обязательный)
- The Helper API request type (e.g. 'update-check').
Код WC_Helper_API_Backoff::clear() WC Helper API Backoff::clear WC 11.2.2
public static function clear( string $request_type ): void {
delete_transient( self::get_transient_key( $request_type ) );
}