[wp-trac] [WordPress Trac] #15230: Action hook before the inserting post into the database
WordPress Trac
noreply at wordpress.org
Mon Aug 3 11:17:07 UTC 2015
#15230: Action hook before the inserting post into the database
------------------------------------+-----------------------------
Reporter: johnnypea | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version: 3.1
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+-----------------------------
Changes (by pareshradadiya):
* keywords: dev-feedback => dev-feedback has-patch
Comment:
I'm working on membership plugin and every user has a certain number limit
on add new post. I want to check total post count by the author before
data has been save in the database but at the moment `wp_insert_post` does
not have a `pre_post_insert` hook. It would be nice to add this hook in
core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15230#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list