#60433 closed enhancement (fixed)
Adding delete_post_{$post->post_type} action hook
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | Cc: |
Description
Is there any reason not to add a delete_post_{$post->post_type}
action hook to the core? We have it for save and edit, so why not for delete as well.
Change History (10)
#1
@
13 months ago
- Summary changed from Adding delete_post_{$post->post_type} to Adding delete_post_{$post->post_type} action hook
This ticket was mentioned in PR #6036 on WordPress/wordpress-develop by @benniledl.
13 months ago
#2
- Keywords has-patch added
This ticket was mentioned in Slack in #core by gerardreches. View the logs.
11 months ago
#6
@
11 months ago
- Milestone changed from Awaiting Review to 6.6
Moving to 6.6 for consideration. Patch needs a little updating.
@swissspidy commented on PR #6036:
11 months ago
#10
Committed in https://core.trac.wordpress.org/changeset/57853
Note: See
TracTickets for help on using
tickets.
added delete_post_{->post_type} and deleted_post_{- >post_type} hook
Trac ticket: https://core.trac.wordpress.org/ticket/60433