createPages (function)

Return to Knowledgebase

Purpose

Adds a page to the Database

Location

users/helpers/permissions.php

Parameters

# Parameter Data Type Required Description
1 $pages Yes undocumented

Example

createPages(['page1.php','page2.php');

Further Documentation:

This is an internal UserSpice Function that is generally not used by developers.