TermDto
in package
Read onlyYes
FinalYes
Host-neutral shape for a WordPress term.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$id
public
int
$id
$name
public
string
$name
$parentId
public
int|null
$parentId
= null
$slug
public
string
$slug
$taxonomy
public
string
$taxonomy
Methods
__construct()
public
__construct(int $id, string $taxonomy, string $slug, string $name[, int|null $parentId = null ]) : mixed
Parameters
- $id : int
- $taxonomy : string
- $slug : string
- $name : string
- $parentId : int|null = null