do_action( ‘xmlrpc_call_success_mw_newMediaObject’, int $id, array $args )

In this article

Fires after a new attachment has been added via the XML-RPC MovableType API.

Parameters

$idint
ID of the new attachment.
$argsarray
An array of arguments to add the attachment.

Source

do_action( 'xmlrpc_call_success_mw_newMediaObject', $id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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