xmlrpc_publish_post action-hook . WP 2.1.0
Fires when _publish_post_hook() is called during an XML-RPC request.
Usage
add_action( 'xmlrpc_publish_post', 'action_function_name_720' ); function action_function_name_720( $post_id ){ // action... }
- $post_id(int)
- Post ID.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
xmlrpc_publish_post
wp-includes/post.php 7173
do_action( 'xmlrpc_publish_post', $post_id );