Is the page publishable by the current user?
A field name may optionally be specified as the first argument, in which case the field on that page will also be checked for access.
Usage
$pagePermissions->publishable(HookEvent $event);
Arguments
Name | Type(s) | Description |
---|---|---|
event | HookEvent |
PagePermissions methods and properties
API reference based on ProcessWire core version 3.0.236