过滤帖子重定向目标网址。
原型
apply_filters( 'redirect_post_location', string $location, int $post_id )
参数
$location
(string)
目标网址。
$post_id
(int)
帖子ID。
源文件
路径:wp-admin/includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/redirect_post_location/