[wp-trac] [WordPress Trac] #62302: Post deletion hooks are not fully consistent.
WordPress Trac
noreply at wordpress.org
Fri Oct 25 11:53:34 UTC 2024
#62302: Post deletion hooks are not fully consistent.
-------------------------------+-----------------------------
Reporter: Cawa-93 | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
We have hooks with a dynamic part like `` and
`deleted_post_{$post->post_type}`, but there is no similar version for
before_delete_post.
I suggest adding an equivalent hook
`before_delete_post_{$post->post_type}`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62302>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list