xmlrpc_publish_post action-hookWP 2.1.0

Usage

add_action( 'xmlrpc_publish_post', 'wp_kama_xmlrpc_publish_post_action' );

/**
 * Function for `xmlrpc_publish_post` action-hook.
 * 
 * @param int $post_id Post ID.
 *
 * @return void
 */
function wp_kama_xmlrpc_publish_post_action( $post_id ){

	// action...
}
$post_id(int)
Post ID.

Changelog

Since 2.1.0 Introduced.

Where the hook is called

_publish_post_hook()
xmlrpc_publish_post
wp-includes/post.php 7626
do_action( 'xmlrpc_publish_post', $post_id );

Where the hook is used in WordPress

Usage not found.