Does the given page have a modified “name” during this request?
Usage
// basic usage
$bool = $pagesNames->hasAdjustedName(Page $page);
// usage with all arguments
$bool = $pagesNames->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
PagesNames methods and properties
API reference based on ProcessWire core version 3.0.236