Docs

evf_create_page( mixed $slug, string $option = '', string $page_title = '', string $page_content = '', int $post_parent ): int

Create a page and store the ID in an option.

Parameters

$slugmixedrequired
Slug for the new page.
$optionstringoptional
Option name to store the page’s ID.

Default:''

$page_titlestringoptional
(default: '') Title for the new page.

Default:''

$page_contentstringoptional
(default: '') Content for the new page.

Default:''

$post_parentintrequired
(default: 0) Parent for the new page.

Return

int page ID