WP_Comment::__get

SummerySummery

Magic getter.

Syntax

WP_Comment::__get( string $name )

DescriptionDescription

If $name matches a post field, the comment post will be loaded and the post’s value returned.

ParametersParameters

$name

(string) (Required)

ReturnReturn

(mixed)

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top