WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_unique_post_slug_is_bad_flat_slug

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 5126 /**
* Filters whether the post slug would be bad as a flat slug.
*
* @since 3.1.0
*
* @param bool $bad_slug Whether the post slug would be bad as a flat slug.
* @param string $slug The post slug.
* @param string $post_type Post type.
*/

Hook Parameters

Parameter Type Name Description
bool $bad_slug Whether the post slug would be bad as a flat slug.
string $slug The post slug.
string $post_type Post type.