Tab
in package
Read onlyYes
FinalYes
One tab of a settings page. Each tab registers under its own page slug (`{page}-{tab}`) so WordPress renders only the active tab's sections.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$sections
public
array<string|int, mixed>
$sections
$slug
public
string
$slug
$title
public
string
$title
Methods
__construct()
public
__construct(non-empty-string $slug, string $title, array<int, Section> $sections) : mixed
Parameters
- $slug : non-empty-string
- $title : string
- $sections : array<int, Section>