WP_Comment::get_child

SummerySummery

Get a child comment by ID.

Syntax

WP_Comment::get_child( int $child_id )

ParametersParameters

$child_id

(int) (Required) ID of the child.

ReturnReturn

(WP_Comment|bool) Returns the comment object if found, otherwise false.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top