fetchPermissionPages (function)

Return to Knowledgebase

Purpose

Returns a list of pages that a permission level can access

Location

users/helpers/permissions.php

Parameters

# Parameter Data Type Required Description
1 $permission_id Yes undocumented

Example

fetchPermissionPages(1)

Further Documentation:

This is an internal function not generally used by developers. Returns an object that contains the id, page id, page name, and private status of every page explicitly open to permission level 1.