woocommerce_store_api_rate_limit_exceeded

woocommerce_store_api_rate_limit_exceeded

Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_store_api_rate_limit_exceeded') is found 1 times:

  • /src/StoreApi/Authentication.php line 179
    				 * @since 8.9.0
    				 *
    				 * @param string $ip_address The IP address of the request.
    				 */
    				do_action( 'woocommerce_store_api_rate_limit_exceeded', $ip_address );
    
    				return new \WP_Error(
    					'rate_limit_exceeded',
    					sprintf(
    						'Too many requests. Please wait %d seconds before trying again.',
    						$retry