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.

Top ↑

Source

File: wp-includes/class-wp-xmlrpc-server.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

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