ProcessPageEdit::addTab()

Add a tab with HTML id attribute and label

Label may contain markup, and thus you should entity encode text labels as appropriate.

Usage

// basic usage
$processPageEdit->addTab(string $id, string $label);

// usage with all arguments
$processPageEdit->addTab(string $id, string $label, $wrapper = null);

Arguments

NameType(s)Description
$idstring
$labelstring
$wrapper (optional)InputfieldWrapper null

ProcessPageEdit methods and properties

API reference based on ProcessWire core version 3.0.251