LLMS_Install::create_pages()

Create essential starter pages


Return Return

(boolean) False on error, true on success.


Top ↑

Source Source

File: includes/class.llms.install.php

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
/**
 * 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' ),
        ),
        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' ),
        ),
        array(
            'content'      => '[lifterlms_checkout]',
            'option'       => 'lifterlms_checkout_page_id',
            'slug'         => 'purchase',
            'title'        => __( 'Purchase', 'lifterlms' ),


Top ↑

Changelog Changelog

Changelog
Version Description
3.24.0 Unknown.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.