Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 5155 | /** * Filters the unique post slug. * * @since 3.3.0 * * @param string $slug The post slug. * @param int $post_ID Post ID. * @param string $post_status The post status. * @param string $post_type Post type. * @param int $post_parent Post parent ID * @param string $original_slug The original post slug. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $bad_slug | Whether the slug would be bad as an attachment slug. |
string | $slug | The post slug. |