WordPress at a glance
action is not described

xmlrpc_call_success_mw_newMediaObject action-hook . WP 3.4.0

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

Usage

add_action( 'xmlrpc_call_success_mw_newMediaObject', 'action_function_name_465', 10, 2 );
function action_function_name_465( $id, $args ){
	// action...
}
$id(int)
ID of the new attachment.
$args(array)
An array of arguments to add the attachment.

Список изменений

С версии 3.4.0 Введена.

Где вызывается хук

wp_xmlrpc_server::mw_newMediaObject()
xmlrpc_call_success_mw_newMediaObject
wp-includes/class-wp-xmlrpc-server.php 6385
do_action( 'xmlrpc_call_success_mw_newMediaObject', $id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase

Где используется хук в ядре WP

Использование не найдено.