apply_filters( 'wp_unique_post_slug', string $slug, int $post_ID, string $post_status, string $post_type, int $post_parent, string $original_slug )

Filters the unique post slug.


Parameters

$slug

The post slug.

$post_ID

Post ID.

$post_status

The post status.

$post_type

Post type.

$post_parent

Post parent ID

$original_slug

The original post slug.


Source

File: wp-includes/post.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.3.0 Introduced.