$site->createChild()
Creates a main page
Parameters
Name | Type | Default |
---|---|---|
$props * | array |
– |
Return type
Parent class
Example
Programmatically create a new page as child of the $site
object.
Creates a main page
Name | Type | Default |
---|---|---|
$props * | array |
– |
Programmatically create a new page as child of the $site
object.