wp_remote_retrieve_response_code


wp_remote_retrieve_response_code ( $response )

Parameters:
  • (array|WP_Error) response HTTP response.
Returns:
  • (int|string) The response code as an integer. Empty string if incorrect parameter given.
Defined at:

Description

Retrieves only the response code from the raw response.Will return an empty string if incorrect parameter value is given.

Related Functions

wp_remote_retrieve_response_message, wp_remote_retrieve_cookie, wp_remote_retrieve_header, wp_remote_retrieve_body, wp_remote_retrieve_cookies

Top Google Results

User discussions

wpseek mobile