Get the name format string that should be used for given $page if no name was assigned
Usage
// basic usage
$string = $pagesNames->defaultPageNameFormat(Page $page);
// usage with all arguments
$string = $pagesNames->defaultPageNameFormat(Page $page, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | |
options (optional) | array |
|
Return value
string
PagesNames methods and properties
API reference based on ProcessWire core version 3.0.236