From 1a712fb612b881752d59a9fe959d0718456dd4b3 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 11 Feb 2007 04:32:31 +0000 Subject: [PATCH] Add similar hook as XML-RPC for Atom git-svn-id: https://develop.svn.wordpress.org/trunk@4873 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/post.php b/wp-includes/post.php index 0d3bc620dd..4ecfba628b 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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 )