WP_Comment::get_instance

SummerySummery

Retrieves a WP_Comment instance.

Syntax

WP_Comment::get_instance( int $id )

ParametersParameters

$id

(int) (Required) Comment ID.

ReturnReturn

(WP_Comment|false) Comment object, otherwise false.

SourceSource

File: wp-includes/class-wp-comment.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top