W3cubDocs

/WordPress

do_action( 'xmlrpc_publish_post', int $post_id )

Fires when _publish_post_hook() is called during an XML-RPC request.

Parameters

$post_id

(int) Post ID.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_publish_post