xmlrpc_call_success_mw_newPost action-hook . WP 3.4.0
Fires after a new post has been successfully created via the XML-RPC MovableType API.
Usage
add_action( 'xmlrpc_call_success_mw_newPost', 'action_function_name_3850', 10, 2 ); function action_function_name_3850( $post_ID, $args ){ // action... }
- $post_ID(int)
- ID of the new post.
- $args(array)
- An array of arguments to create the new post.
Where the hook is called
xmlrpc_call_success_mw_newPost
wp-includes/class-wp-xmlrpc-server.php 5487
do_action( 'xmlrpc_call_success_mw_newPost', $post_ID, $args );