get_comment_to_edit

SummerySummery

Returns a WP_Comment object based on comment ID.

Syntax

get_comment_to_edit( int $id )

ParametersParameters

$id

(int) (Required) ID of comment to retrieve.

ReturnReturn

(WP_Comment|false) Comment if found. False on failure.

SourceSource

File: wp-admin/includes/comment.php


			

ChangelogChangelog

Changelog
Version Description
2.0.0 Introduced.
Scroll to Top