post_link
最后更新于:2021-11-27 16:50:06
apply_filters( ‘post_link’, string $permalink, GC_Post $post, bool $leavename )
Filters the permalink for a post.
参数
- $permalink
-
(string)
The post’s permalink. - $post
-
(GC_Post)
The post in question. - $leavename
-
(bool)
Whether to keep the post name.
源文件
文件: gc-includes/link-template.php