xmlrpc_call, wp.getCommentCount, $args, $this

xmlrpc_call, wp.getCommentCount, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

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

  • /wp-includes/class-wp-xmlrpc-server.php line 4123
    			return new IXR_Error( 403, __( 'Sorry, you are not allowed to access details of this post.' ) );
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.getCommentCount', $args, $this );
    
    		$count = wp_count_comments( $post_id );
    
    		return array(
    			'approved'            => $count->approved,
    			'awaiting_moderation' => $count->moderated,