wp_http_ixr_client_headers хук-фильтр . WP 4.4.0
Filters the headers collection to be sent to the XML-RPC server.
Использование
add_filter( 'wp_http_ixr_client_headers', 'filter_function_name_2398' ); function filter_function_name_2398( $headers ){ // filter... return $headers; }
- $headers(строка[])
- Associative array of headers to be sent.
Список изменений
С версии 4.4.0 | Введена. |
Где вызывается хук
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'] );