Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_remote_retrieve_header()

3 tags 1 category

wp_remote_retrieve_header() — Retrieves a single header by name from the raw response.

Inputs: $response (array|WP_Error): HTTP response. $header (string): Header name to retrieve value from.

Returns array|string: The header(s) value(s). Array if multiple headers with the same name are retrieved. Empty string if incorrect parameter given, or if the header doesn’t exist.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…