mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
Add similar hook as XML-RPC for Atom
git-svn-id: http://svn.automattic.com/wordpress/trunk@4873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24dfaea9cb
commit
92cf3691ad
@ -672,6 +672,8 @@ function wp_insert_post($postarr = array()) {
|
||||
do_action('publish_post', $post_ID);
|
||||
if ( defined('XMLRPC_REQUEST') )
|
||||
do_action('xmlrpc_publish_post', $post_ID);
|
||||
if ( defined('APP_REQUEST') )
|
||||
do_action('app_publish_post', $post_ID);
|
||||
|
||||
if ( !defined('WP_IMPORTING') ) {
|
||||
if ( $post_pingback )
|
||||
|
Loading…
Reference in New Issue
Block a user