[wp-trac] [WordPress Trac] #15230: Action hook before the inserting post into the database
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 27 09:41:13 UTC 2010
#15230: Action hook before the inserting post into the database
-------------------------+--------------------------------------------------
Reporter: johnnypea | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.1
Severity: normal | Keywords: needs-patch reporter-feedback
-------------------------+--------------------------------------------------
Comment(by johnnypea):
Replying to [comment:1 nacin]:
> Use case? Also, real patch please.
For example in case I want to check if such a post exists in the database
before inserting it - almost every data inserted into the database has its
"pre_insert_hook" so why posts not?. I know there is this
''wp_insert_post_data'' filter where can I do this check but anyways it is
not the action hook.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15230#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list