메소드 | 설명 | |
---|---|---|
_stringify_data ( array | mixed $data ) : array | string | Takes an array or similar structure and recursively turns all values into strings. This is used to make sure that body hashes are made ith the string version, which is what will be seen after a server pulls up the data in the $_POST array. | |
_wp_remote_request ( $url, $args, $set_fallback = false ) : array | WP_Error | Wrapper for wp_remote_request(). Turns off SSL verification for certain SSL errors. | |
remote_request ( $args, $body = null ) : array | WP_Error | Makes an authorized remote request using Jetpack_Signature | |
set_time_diff ( &$response, $force_set = false ) | ||
wpcom_json_api_request_as_blog ( string $path, string $version = self::WPCOM_JSON_API_VERSION, array $args = [], string $body = null ) : array | WP_Error | Query the WordPress.com REST API using the blog token |
public static _wp_remote_request ( $url, $args, $set_fallback = false ) : array | WP_Error | ||
리턴 | array | WP_Error | WP HTTP response on success |
public static remote_request ( $args, $body = null ) : array | WP_Error | ||
리턴 | array | WP_Error | WP HTTP response on success |