$pagegetPageListLabel()

Get label markup to use in page-list or blank to use template/page-list defaults

This method enables custom page classes to override page labels in page-list. PLEASE NOTE: Inline markup is allowed so make sure to entity-encode any text field values.

If you are looking for a hookable version, you should instead hook ProcessPageListRender::getPageLabel which receives the Page as its first argument.

Available since version 3.0.206.

Usage

$string = $page->getPageListLabel();

Return value

string


$page methods and properties

API reference based on ProcessWire core version 3.0.257