LLMS_Install::create_pages()
Create essential starter pages
Return Return
(boolean) False on error, true on success.
Source Source
File: includes/class.llms.install.php
/** * Filters the essential starter pages. * * These are the pages that are going to be created when installing LifterLMS. * All these pages, as long as their `docs_url`, `description` and `wizard_title` * fields are defined, are going to be shown in the Setup Wizard. * * @since 7.3.0 * * @param array $pages A multidimensional array defining the essential starter pages. */ return apply_filters( 'llms_install_get_pages', array( array( 'content' => '', 'option' => 'lifterlms_shop_page_id', 'slug' => 'courses', 'title' => __( 'Course Catalog', 'lifterlms' ), 'wizard_title' => __( 'Course Catalog', 'lifterlms' ), 'description' => __( 'This page is where your visitors will find a list of all your available courses.', 'lifterlms' ), 'docs_url' => 'https://lifterlms.com/docs/course-catalog/?utm_source=LifterLMS%20Plugin&utm_campaign=Plugin%20to%20Sale&utm_medium=Wizard&utm_content=LifterLMS%20Course%20Catalog', ), array( 'content' => '', 'option' => 'lifterlms_memberships_page_id', 'slug' => 'memberships', 'title' => __( 'Membership Catalog', 'lifterlms' ), 'wizard_title' => __( 'Membership Catalog', 'lifterlms' ), 'description' => __( 'This page is where your visitors will find a list of all your available memberships.', 'lifterlms' ), 'docs_url' => 'https://lifterlms.com/docs/membership-catalog/?utm_source=LifterLMS%20Plugin&utm_campaign=Plugin%20to%20Sale&utm_medium=Wizard&utm_content=LifterLMS%20Membership%20Catalog', ), array( 'content' => '[lifterlms_checkout]', 'option' => 'lifterlms_checkout_page_id', 'slug' => 'purchase', 'title' => __( 'Purchase', 'lifterlms' ),
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Unknown. |
1.0.0 | Introduced. |