Filters the unique post slug.
$slugstring$post_idint$post_statusstring$post_typestring$post_parentint$original_slugstringwp-includes/post.php:5498wp_unique_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. */ return apply_filters( 'wp_unique_post_slug', $slug, $post_id, $post_status, $post_type, $post_parent, $original_slug );} /** * Truncates a post slug. * * @since 3.6.0Introduced in 3.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.