PagesNames::names method
Does the given page have a modified “name” during this request?
Usage
// basic usage
$bool = $pages->names->hasAdjustedName(Page $page);
// usage with all arguments
$bool = $pages->names->hasAdjustedName(Page $page, $set = null);Arguments
| Name | Type(s) | Description |
|---|---|---|
$page | Page | |
$set (optional) | bool null | Specify boolean true or false to set whether or not it has an adjusted name, or omit just to get |
Return value
bool
$pages->names methods and properties
API reference based on ProcessWire core version 3.0.252