wp_http_ixr_client_headers WordPress Filter Hook

This hook allows you to modify the headers that are sent to the XML-RPC server. This can be useful for authentication or other purposes.

apply_filters( 'wp_http_ixr_client_headers', string[] $headers ) #

Filters the headers collection to be sent to the XML-RPC server.


Parameters

$headers

(string[])Associative array of headers to be sent.


Top ↑

Source

File: wp-includes/class-wp-http-ixr-client.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.