[wp-trac] [WordPress Trac] #15230: Action hook before the inserting post into the database
WordPress Trac
noreply at wordpress.org
Wed Jul 5 08:26:54 UTC 2017
#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:
------------------------------------+-----------------------------
Comment (by websupporter):
+1 for this
Use case: Make sure whatever happens, certain phrases will never be in a
post. Do not care about whether they enter through a plugin using
`wp_insert_post()` in some way or through the editor, or through the REST
API or whatsoever.
Using `pre_post_insert` would help me to easier solve this request.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15230#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list