Documentation

TermDto
in package

Read onlyYes
FinalYes

Host-neutral shape for a WordPress term.

Table of Contents

Properties

$id  : int
$name  : string
$parentId  : int|null
$slug  : string
$taxonomy  : string

Methods

__construct()  : mixed

Properties

$parentId

public int|null $parentId = null

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
On this page

Search results