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

Glossary Term

wp_remote_head()

3 tags 1 category

wp_remote_head() — Performs an HTTP request using the HEAD method and returns its response. Important: If the URL is user-controlled, use wp_safe_remote_head() instead.

Inputs: $url (string): URL to retrieve. $args (array): Optional. Request arguments. Default empty array. See WP_Http::request() for information on accepted arguments.

Returns array|WP_Error: The response or WP_Error on failure. See WP_Http::request() for information on return value.

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…