CommentDto
in package
Read onlyYes
FinalYes
Host-neutral shape for a WordPress comment.
Table of Contents
Properties
- $authorEmail : string
- $authorName : string
- $content : string
- $id : int
- $postId : int
- $status : string
Methods
- __construct() : mixed
Properties
$authorEmail
public
string
$authorEmail
$authorName
public
string
$authorName
$content
public
string
$content
$id
public
int
$id
$postId
public
int
$postId
$status
public
string
$status
Methods
__construct()
public
__construct(int $id, int $postId, string $authorName, string $authorEmail, string $content, string $status) : mixed
Parameters
- $id : int
- $postId : int
- $authorName : string
- $authorEmail : string
- $content : string
- $status : string