xmlrpc_call, wp.newComment, $args, $this

xmlrpc_call, wp.newComment, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('xmlrpc_call, wp.newComment, $args, $this') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 4027
    			return new IXR_Error( 403, __( 'Comment is required.' ) );
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.newComment', $args, $this );
    
    		$comment_id = wp_new_comment( $comment, true );
    		if ( is_wp_error( $comment_id ) ) {
    			return new IXR_Error( 403, $comment_id->get_error_message() );
    		}