wp_unique_term_slug fired only when adding a term
-
Hi,
I’m looking to customize the slugs of terms (tags/categories) just before they are stored in the database. While I’ve found the wp_unique_term_slug hook, it seems to work as intended only during term creation, not when editing existing terms.
Is there a hook or an alternative method that would allow for consistent filtering of term slugs in both the creation and editing processes?
(Note: I’m accustomed to the behavior of wp_unique_post_slug, which handles both cases for post slugs, and I’m looking for a similar capability with wp_unique_term_slug).
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_unique_term_slug fired only when adding a term’ is closed to new replies.