pre_post_link
最后更新于:2021-11-27 19:36:58
apply_filters( ‘pre_post_link’, string $permalink, GC_Post $post, bool $leavename )
Filters the permalink structure for a post before token replacement occurs.
参数
- $permalink
-
(string)
The site’s permalink structure. - $post
-
(GC_Post)
The post in question. - $leavename
-
(bool)
Whether to keep the post name.
源文件
文件: gc-includes/link-template.php