WP HOOKS
filtrod 4.4.0

wp_http_ixr_client_headers

Args 1Plik wp-includes/class-wp-http-ixr-client.phpDokumentacja WP ↗

Opis — z kodu źródłowego

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

Parametry

ParametrTypOpis
$headersstring[]Associative array of headers to be sent.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_http_ixr_client_headers', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}