Wordpress 钩子:wp_unique_post_slug
文章目录
过滤独特的后塞。
原型
apply_filters( 'wp_unique_post_slug', string $slug, int $post_ID, string $post_status, string $post_type, int $post_parent, string $original_slug )
参数
$slug
(string)
后slu ..
$post_ID
(int)
帖子ID。
$post_status
(string)
帖子状态。
$post_type
(string)
发布类型。
$post_parent
(int)
发布父ID
$original_slug
(string)
最初的帖子。
源文件
路径:wp-includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_unique_post_slug/
文章作者 iBllex
上次更新 2019-02-12