wp_http_ixr_client_headers filter-hook . WP 4.4.0
Filters the headers collection to be sent to the XML-RPC server.
Usage
add_filter( 'wp_http_ixr_client_headers', 'filter_function_name_3192' ); function filter_function_name_3192( $headers ){ // filter... return $headers; }
- $headers(string[])
- Associative array of headers to be sent.
Changelog
Since 4.4.0 | Introduced. |
Where the hook is called
wp_http_ixr_client_headers
wp-includes/class-wp-http-ixr-client.php 80
$args['headers'] = apply_filters( 'wp_http_ixr_client_headers', $args['headers'] );