apply_filters( 'wp_unique_term_slug_is_bad_slug', bool $needs_suffix, string $slug, object $term )

Filters whether the proposed unique term slug is bad.


Description Description


Parameters Parameters

$needs_suffix

(bool) Whether the slug needs to be made unique with a suffix.

$slug

(string) The slug.

$term

(object) Term object.


Top ↑

Source Source

File: wp-includes/taxonomy.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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