LLMS_Install::get_pages()
Get array of essential starter pages.
Return Return
(array)
Source Source
File: includes/class.llms.install.php
public static function get_pages() {
/**
* 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' ),
'wizard_title' => __( 'Checkout', 'lifterlms' ),
'description' => __( 'This is the page where visitors will be directed in order to pay for courses and memberships.', 'lifterlms' ),
'docs_url' => 'https://lifterlms.com/docs/checkout-page/?utm_source=LifterLMS%20Plugin&utm_campaign=Plugin%20to%20Sale&utm_medium=Wizard&utm_content=LifterLMS%20Checkout%20Page',
),
array(
'content' => '[lifterlms_my_account]',
'option' => 'lifterlms_myaccount_page_id',
'slug' => 'dashboard',
'title' => __( 'Dashboard', 'lifterlms' ),
'wizard_title' => __( 'Student Dashboard', 'lifterlms' ),
'description' => __( 'Page where students can view and manage their current enrollments, earned certificates and achievements, account information, and purchase history.', 'lifterlms' ),
'docs_url' => 'https://lifterlms.com/docs/student-dashboard/?utm_source=LifterLMS%20Plugin&utm_campaign=Plugin%20to%20Sale&utm_medium=Wizard&utm_content=LifterLMS%20Student%20Dashboard',
),
)
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.3.0 | Introduced. |