[wp-trac] [WordPress Trac] #30127: Add `before_delete_term` action

WordPress Trac noreply at wordpress.org
Mon Oct 27 20:44:21 UTC 2014


#30127: Add `before_delete_term` action
--------------------------+-----------------------------
 Reporter:  cmmarslender  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Sometimes, the need arises to hook in to wp_delete_term, and take some
 action before the terms are actually deleted. Currently, there are only
 actions that fire after changes are already made in the database (term
 gone, posts already updated, etc). Would be really helpful to be able to
 hook into this process before any changes are made.

 Patch attached with proposed addition.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30127>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list