fetchPagePermissions (function)

Return to Knowledgebase

Purpose

Returns a list of permission levels that can access a page

Location

users/helpers/permissions.php

Parameters

# Parameter Data Type Required Description
1 $page_id Yes undocumented

Example

fetchPagePermissions(1)

Further Documentation:

This is an internal function not generally used by developers. Returns an object that contains the id and permission_id from user_permission_matches that can access page 24.