LLMS_REST_Admin_Settings

Manage admin settings pages.


Source Source

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

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.