wp_unique_term_slug_is_bad_slug

Advertisement

Summery Summery

Filters whether the proposed unique term slug is bad.

Syntax Syntax

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

Parameters Parameters

$needs_suffix

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

$slug

The slug.

$term

Term object.

Source Source

File: wp-includes/taxonomy.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply