WP_Comment::populated_children

SummerySummery

Set the ‘populated_children’ flag.

Syntax

WP_Comment::populated_children( bool $set )

DescriptionDescription

This flag is important for ensuring that calling get_children() on a childless comment will not trigger unneeded database queries.

ParametersParameters

$set

(bool) (Required) Whether the comment's children have already been populated.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top