Make WordPress Core

Opened 18 months ago

Last modified 3 months ago

#22293 new enhancement

New Filter for wp_update_term

Reported by: baernty Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: Cc:


I need a filter for $slug in this function. I want to check if there is a page with the same slug, because i don't use the category base.

Thanks very much.

Change History (4)

comment:1 baernty18 months ago

  • Cc baernty added

comment:2 baernty18 months ago

and of course, also for a new term in wp_insert_term

comment:3 SergeyBiryukov18 months ago

create_term or edit_term actions can be used to update the slug right after the term is created or updated.

comment:4 nacin3 months ago

  • Component changed from General to Taxonomy
Note: See TracTickets for help on using tickets.