http_request_args

http_request_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('http_request_args') is found 1 times:

  • /wp-includes/class-wp-http.php line 247
    		 *
    		 * @param array  $parsed_args An array of HTTP request arguments.
    		 * @param string $url         The request URL.
    		 */
    		$parsed_args = apply_filters( 'http_request_args', $parsed_args, $url );
    
    		// The transports decrement this, store a copy of the original value for loop purposes.
    		if ( ! isset( $parsed_args['_redirection'] ) ) {
    			$parsed_args['_redirection'] = $parsed_args['redirection'];
    		}
    
    

See this hook used in plugins: