Used By
Used By | Description |
---|---|
wp-includes/post.php: wp_unique_post_slug() | Computes a unique slug for the post, when given the desired slug and some post details. |
Filters whether the post slug would make a bad hierarchical post slug.
(bool) Whether the post slug would be bad in a hierarchical post context.
(string) The post slug.
(string) Post type.
(int) Post parent ID.
File: wp-includes/post.php
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_unique_post_slug_is_bad_hierarchical_slug