Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: xmlrpc_call_success_blogger_editPost

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
3940           $postdata = compact('ID', 'post_content', 'post_title', 'post_category', 'post_status', 'post_excerpt');
3941
3942           $result = wp_update_post($postdata);
3943
3944           if ( !$result )
3945                return new IXR_Error(500, __('For some strange yet very annoying reason, this post could not be edited.'));
3946
3947           $this->attach_uploads( $ID, $post_content );
3948
3949           do_action( 'xmlrpc_call_success_blogger_editPost', $post_ID, $args );
3950
3951           return true;
3952      }
3953
3954      /**
3955       * Remove a post.
3956       *
3957       * @since 1.5.0
3958       *