Opened 6 years ago
Closed 6 years ago
#4055 closed enhancement (fixed)
wp_delete_post: add an exit hook
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | low | Milestone: | 2.2 |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: |
Description
I'm writing a plugin which needs to perform an operation after clean_page_cache calls. All other calling functions have sufficient hooks.
This new hook will upgrade wp_delete_post to the API standards of its peers.
Attachments (1)
Change History (5)
comment:1
markjaquith — 6 years ago
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
- Keywords has-patch commit added
- Owner changed from markjaquith to rob1n
- Status changed from assigned to new
Note: See
TracTickets for help on using
tickets.

I can't find any examples of similar hooks, but I like the idea, and it has come up before. I like your naming even... delete_post becomes deleted_post -- past tense.