xmlrpc_call_success_wp_editComment хук-событие . WP 3.4.0
Fires after a comment has been successfully updated via XML-RPC.
Использование
add_action( 'xmlrpc_call_success_wp_editComment', 'action_function_name_7790', 10, 2 ); function action_function_name_7790( $comment_ID, $args ){ // action... }
- $comment_ID(число)
- ID of the updated comment.
- $args(массив)
- An array of arguments to update the comment.
Список изменений
С версии 3.4.0 | Введена. |
Где вызывается хук
xmlrpc_call_success_wp_editComment
wp-includes/class-wp-xmlrpc-server.php 3802
do_action( 'xmlrpc_call_success_wp_editComment', $comment_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase