On this page
do_action( 'xmlrpc_call_success_mw_newPost', int $post_ID, array $args )
Fires after a new post has been successfully created via the XML-RPC MovableType API.
Parameters
$post_IDint-
ID of the new post.
$argsarray-
An array of arguments to create the new post.
Source
File: wp-includes/class-wp-xmlrpc-server.php. View all references
do_action( 'xmlrpc_call_success_mw_newPost', $post_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
Related
Used By
| Used By | Description |
|---|---|
| wp_xmlrpc_server::mw_newPost() wp-includes/class-wp-xmlrpc-server.php | Create a new post. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_call_success_mw_newpost