Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: xmlrpc_call_success_wp_newComment

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
4011
4012           /**
4013            * Fires after a new comment has been successfully created via XML-RPC.
4014            *
4015            * @since 3.4.0
4016            *
4017            * @param int   $comment_id ID of the new comment.
4018            * @param array $args       An array of new comment arguments.
4019            */
4020           do_action( 'xmlrpc_call_success_wp_newComment', $comment_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase
4021
4022           return $comment_id;
4023      }
4024
4025      /**
4026       * Retrieves all of the comment status.
4027       *
4028       * @since 2.7.0
4029       *