xmlrpc_call_success_blogger_deletePost
Fires after a post has been successfully deleted via the XML-RPC Blogger API.
Usage
add_action( 'xmlrpc_call_success_blogger_deletePost', 'wp_kama_xmlrpc_call_success_blogger_deletePost_action', 10, 2 );
/**
* Function for `xmlrpc_call_success_blogger_deletePost` action-hook.
*
* @param int $post_id ID of the deleted post.
* @param array $args An array of arguments to delete the post.
*
* @return void
*/
function wp_kama_xmlrpc_call_success_blogger_deletePost_action( $post_id, $args ){
// action...
}
- $post_id(int)
- ID of the deleted post.
- $args(array)
- An array of arguments to delete the post.
Changelog
| Since 3.4.0 | Introduced. |
Where the hook is called
xmlrpc_call_success_blogger_deletePost
wp-includes/class-wp-xmlrpc-server.php 5324
do_action( 'xmlrpc_call_success_blogger_deletePost', $post_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase