Filters the unique post slug.
Parameters
$slug
string- The post slug.
$post_id
int- Post ID.
$post_status
string- The post status.
$post_type
string- Post type.
$post_parent
int- Post parent ID
$original_slug
string- The original post slug.
Source
return apply_filters( 'wp_unique_post_slug', $slug, $post_id, $post_status, $post_type, $post_parent, $original_slug );
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.