do_action( ‘xmlrpc_publish_post’, int $post_id )

In this article

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

Parameters

$post_idint
Post ID.

Source

do_action( 'xmlrpc_publish_post', $post_id );

Changelog

VersionDescription
2.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.