summaryrefslogtreecommitdiffstats
path: root/wp-includes/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/post.php')
-rw-r--r--wp-includes/post.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/post.php b/wp-includes/post.php
index 0241698..391bd9d 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -674,6 +674,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 )