Wordpress 钩子:http_headers_useragent
文章目录
过滤使用HTTP请求发送的用户代理值。
原型
apply_filters( 'http_headers_useragent', string $user_agent )
参数
$user_agent
(string)
WordPress用户代理字符串。
源文件
路径:wp-includes/class-http.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/http_headers_useragent/
文章作者 iBllex
上次更新 2019-02-14