过滤后弹是否会成为一个坏的附件slug。
原型
apply_filters( 'wp_unique_post_slug_is_bad_attachment_slug', bool $bad_slug, string $slug )
参数
$bad_slug
(bool)
是否会作为附件slug坏。
$slug
(string)
后slu ..
源文件
路径:wp-includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_unique_post_slug_is_bad_attachment_slug/