[wp-trac] [WordPress Trac] #34706: Introduce an edit_post_{$post->post_type} action
WordPress Trac
noreply at wordpress.org
Mon Feb 26 18:32:48 UTC 2018
#34706: Introduce an edit_post_{$post->post_type} action
-------------------------------+------------------------------
Reporter: garrett-eclipse | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.4
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
-------------------------------+------------------------------
Changes (by Mte90):
* keywords: needs-patch => dev-feedback
Comment:
Analyzing the code seems that exist already a `edit_post` filter and the
`save_post_{$post->post_type}` has a parameter `update` that let to be
executed only on update of the post.
So I am not sure if this feature is so required.
In any case enjoy the patch :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34706#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list