Wordpress 钩子:wp_redirect_status
文章目录
过滤重定向状态代码。
原型
apply_filters( 'wp_redirect_status', int $status, string $location )
参数
$status
(int)
要使用的状态代码。
$location
(string)
重定向到的路径。
源文件
路径:wp-includes/pluggable.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_redirect_status/
文章作者 iBllex
上次更新 2019-02-18