do_action( 'xmlrpc_call_success_mw_newMediaObject', int $id, array $args )
Fires after a new attachment has been added via the XML-RPC MovableType API.
Parameters
- $id
-
(int) ID of the new attachment.
- $args
-
(array) An array of arguments to add the attachment.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_call_success_mw_newmediaobject