apply_filters( 'wp_unique_post_slug_is_bad_hierarchical_slug', bool $bad_slug, string $slug, string $post_type, int $post_parent )

Filters whether the post slug would make a bad hierarchical post slug.

Description Description

Parameters Parameters


(bool) Whether the post slug would be bad in a hierarchical post context.


(string) The post slug.


(string) Post type.


(int) Post parent ID.

Top ↑

Source Source

File: wp-includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.