LLMS_REST_Admin_Settings

Manage admin settings pages.


Source Source

File: libraries/lifterlms-rest/includes/admin/class-llms-rest-admin-settings.php

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class LLMS_REST_Admin_Settings {
 
    /**
     * Constructor.
     *
     * @since 1.0.0-beta.1
     *
     * @return void
     */
    public function __construct() {
 
        add_filter( 'lifterlms_get_settings_pages', array( $this, 'add_pages' ) );
 
    }
 
    /**
     * Register the REST API settings page with the LifterLMS Core.
     *
     * @since 1.0.0-beta.1
     *
     * @param array $pages Array of settings page classes.
     * @return array
     */
    public function add_pages( $pages ) {
 
        $pages[] = include 'class-llms-rest-admin-settings-page.php';
 
        return $pages;
 
    }
 
}

Top ↑

Methods Methods


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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