[wp-trac] [WordPress Trac] #34706: Introduce an edit_post_{$post->post_type} action
WordPress Trac
noreply at wordpress.org
Wed Jul 25 20:56:41 UTC 2018
#34706: Introduce an edit_post_{$post->post_type} action
-------------------------------------------------+-------------------------
Reporter: garrett-eclipse | Owner:
| SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9.9
Component: Posts, Post Types | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing needs-unit- | Focuses:
tests needs-docs needs-codex |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"43535" 43535]:
{{{
#!CommitTicketReference repository="" revision="43535"
Posts, Post Types: Introduce `edit_post_{$post->post_type}` hook.
The hook fires before the general `edit_post` hook and has the same
parameters.
It also complements the `save_post_{$post->post_type}` hook added in
[25050].
Props Mte90, garrett-eclipse.
Fixes #34706.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34706#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list