WP_REST_Comments_Controller::prepare_links

SummerySummery

Prepares links for the request.

Syntax

WP_REST_Comments_Controller::prepare_links( WP_Comment $comment )

ParametersParameters

$comment

(WP_Comment) (Required) Comment object.

ReturnReturn

(array) Links for the given comment.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top