apply_filters( 'editable_slug', string $slug, WP_Term|WP_Post $tag )

Filters the editable slug for a post or term.

Description Description

Note: This is a multi-use hook in that it is leveraged both for editable post URIs and term slugs.

Top ↑

Parameters Parameters


(string) The editable slug. Will be either a term slug or post URI depending upon the context in which it is evaluated.


(WP_Term|WP_Post) Term or post object.

Top ↑

Source Source

File: wp-admin/edit-tag-form.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 The $tag parameter was added.
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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