wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
wp-includes/http.php › WordPress File
Funkcje28
› Core HTTP Request API
Function | Short description |
---|---|
allowed_http_request_hosts | Mark allowed redirect hosts safe for HTTP requests as well. |
get_allowed_http_origins | Retrieve list of allowed HTTP origins. |
get_http_origin | Get the HTTP Origin of the current request. |
is_allowed_http_origin | Determines if the HTTP origin is an authorized one. |
ms_allowed_http_request_hosts | Adds any domain in a multisite installation for safe HTTP requests to the allowed list. |
send_origin_headers | Send Access-Control-Allow-Origin and related headers if the current request is from an allowed origin. |
wp_http_supports | Determines if there is an HTTP Transport that can process this request. |
wp_http_validate_url | Validate a URL for safe use in the HTTP API. |
wp_parse_url | A wrapper for PHP's parse_url() function that handles consistency in the return values across PHP versions. |
wp_remote_get | Performs an HTTP request using the GET method and returns its response. |
wp_remote_head | Performs an HTTP request using the HEAD method and returns its response. |
wp_remote_post | Performs an HTTP request using the POST method and returns its response. |
wp_remote_request | Performs an HTTP request and returns its response. |
wp_remote_retrieve_body | Retrieve only the body from the raw response. |
wp_remote_retrieve_cookie | Retrieve a single cookie by name from the raw response. |
wp_remote_retrieve_cookies | Retrieve only the cookies from the raw response. |
wp_remote_retrieve_cookie_value | Retrieve a single cookie's value by name from the raw response. |
wp_remote_retrieve_header | Retrieve a single header by name from the raw response. |
wp_remote_retrieve_headers | Retrieve only the headers from the raw response. |
wp_remote_retrieve_response_code | Retrieve only the response code from the raw response. |
wp_remote_retrieve_response_message | Retrieve only the response message from the raw response. |
wp_safe_remote_get | Retrieve the raw response from a safe HTTP request using the GET method. |
wp_safe_remote_head | Retrieve the raw response from a safe HTTP request using the HEAD method. |
wp_safe_remote_post | Retrieve the raw response from a safe HTTP request using the POST method. |
wp_safe_remote_request | Retrieve the raw response from a safe HTTP request. |
_get_component_from_parsed_url_array | Retrieve a specific component from a parsed URL array. |
_wp_http_get_object | Returns the initialized WP_Http Object |
_wp_translate_php_url_constant_to_key | Translate a PHP_URL_* constant to the named array keys PHP uses. |