Return whether or not given page in Trash is listable
Usage
// basic usage
$bool = $pagePermissions->trashListable();
// usage with all arguments
$bool = $pagePermissions->trashListable($page = null);
Arguments
Name | Type(s) | Description |
---|---|---|
page (optional) | Page, null | Page, or specify null for a general "trash is listable" request |
Return value
bool
PagePermissions methods and properties
API reference based on ProcessWire core version 3.0.236