Action hook 'xmlrpc_call_success_blogger_editPost'

in WP Core File wp-includes/class-wp-xmlrpc-server.php at line 5265

View Source

xmlrpc_call_success_blogger_editPost

Action Hook
Description
Fires after a post has been successfully updated via the XML-RPC Blogger API.

Hook Information

File Location wp-includes/class-wp-xmlrpc-server.php View on GitHub
Hook Type Action
Line Number 5265

Hook Parameters

Type Name Description
int $post_id ID of the updated post.
array $args An array of arguments for the post to edit.

Usage Examples

Basic Usage
<?php
// Hook into xmlrpc_call_success_blogger_editPost
add_action('xmlrpc_call_success_blogger_editPost', 'my_custom_function', 10, 2);

function my_custom_function($post_id, $args) {
    // Your custom code here
}

Source Code Context

wp-includes/class-wp-xmlrpc-server.php:5265 - How this hook is used in WordPress core
<?php
5260  		 * @since 3.4.0
5261  		 *
5262  		 * @param int   $post_id ID of the updated post.
5263  		 * @param array $args    An array of arguments for the post to edit.
5264  		 */
5265  		do_action( 'xmlrpc_call_success_blogger_editPost', $post_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
5266  
5267  		return true;
5268  	}
5269  
5270  	/**

PHP Documentation

<?php
/**
		 * Fires after a post has been successfully updated via the XML-RPC Blogger API.
		 *
		 * @since 3.4.0
		 *
		 * @param int   $post_id ID of the updated post.
		 * @param array $args    An array of arguments for the post to edit.
		 */
Quick Info
  • Hook Type: Action
  • Parameters: 2
  • File: wp-includes/class-wp-xmlrpc-server.php
Related Hooks

Related hooks will be displayed here in future updates.