On this page
do_action( 'xmlrpc_publish_post', int $post_id )
Fires when _publish_post_hook() is called during an XML-RPC request.
Parameters
$post_idint-
Post ID.
Source
File: wp-includes/post.php. View all references
do_action( 'xmlrpc_publish_post', $post_id );
Related
Used By
| Used By | Description |
|---|---|
| _publish_post_hook() wp-includes/post.php | Hook to schedule pings and enclosures when a post is published. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_publish_post