$page->is()
Compares the current object with the given page object
Parameters
Name | Type | Default |
---|---|---|
$page * | Kirby\Cms\Page |string |
– |
Return type
bool
Parent class
Example
Filter all articles for the current author page:
Compares the current object with the given page object
Name | Type | Default |
---|---|---|
$page * | Kirby\Cms\Page |string |
– |
bool
Filter all articles for the current author page: