apply_filters( 'wp_unique_term_slug', string $slug, object $term, string $original_slug )

Filters the unique term slug.


Parameters

$slug string
Unique term slug.
$term object
Term object.
$original_slug string
Slug originally passed to the function for testing.

Top ↑

Source

File: wp-includes/taxonomy.php. View all references

return apply_filters( 'wp_unique_term_slug', $slug, $term, $original_slug );


Top ↑

Changelog

Changelog
Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes

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