xmlrpc_call_success_mw_newPost WordPress Action Hook

The xmlrpc_call_success_mw_newPost hook is called when a new post is successfully created via the WordPress XML-RPC interface. This hook can be used to perform any necessary actions after a new post has been created, such as notifying other systems or sending an email to the author.

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_ID

(int)ID of the new post.

$args

(array)An array of arguments to create the new post.


Top ↑

Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More