WP_REST_Comments_Controller::update_item

SummerySummery

Updates a comment.

Syntax

WP_REST_Comments_Controller::update_item( WP_REST_Request $request )

ParametersParameters

$request

(WP_REST_Request) (Required) Full details about the request.

ReturnReturn

(WP_REST_Response|WP_Error) Response object on success, or error object on failure.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top