llms_create_page( string $slug, string $title = '', string $content = '', string $option = '' )
Create a Page & save it’s id as an option
Description Description
Parameters Parameters
- $slug
-
(Required) page slug
- $title
-
(Optional) page title
Default value: ''
- $content
-
(Optional) page content
Default value: ''
- $option
-
(Optional) option name
Default value: ''
Return Return
(int) page id
Source Source
File: includes/admin/llms.functions.admin.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |