Filters the headers collection to be sent to the XML-RPC server.
$args['headers']
Sortie :
@param string[] $headers Associative array of headers to be sent.
// Modifier la valeur avec le filtre 'wp_http_ixr_client_headers'
add_filter('wp_http_ixr_client_headers', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($args['headers']) {
// Modifier la valeur
return $args['headers'];
}
Chargement des actualités...