Add restrictions to a book query.
public enforceBookRestrictions ( $query, string $action = 'view' ) : mixed | ||
$query | ||
$action | string | |
return | mixed |
public enforceBookRestrictions ( $query, string $action = 'view' ) : mixed | ||
$query | ||
$action | string | |
return | mixed |