apply_filters( 'http_headers_useragent', string $user_agent )
Filters the user agent value sent with an HTTP request.
Parameters
- $user_agent
-
ClassicPress user agent string.
Source
File: wp-includes/http.php
Changelog
Version | Description |
---|---|
1.0.0 | This filter is applied to all HTTP requests. |
WP-2.7.0 | Introduced. |