LLMS_Settings_Page
Admin Settings Page Base class
Description Description
Source Source
File: includes/admin/settings/class.llms.settings.page.php
Changelog Changelog
Version | Description |
---|---|
3.37.3 | Add a constructor which registers the settings page and automatically saves and outputs settings content. Add public method stub get_label() which is used to automatically set the $label property on class initialization. Add utility method to generate a group of settings. |
3.35.0 | Unslash input data. |
3.30.3 | Explicitly define class properties. |
1.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- add_settings_page — Add the settings page
- flush_rewrite_rules — Flushes rewrite rules when necessary
- generate_settings_group — Generates a group of settings.
- get_current_section — Retrieve current section from URL var
- get_sections — Get the page sections (stub)
- get_settings — Retrieve the page's settings (stub)
- output — Output the settings fields
- output_sections_nav — Output settings sections as tabs and set post href
- save — Save the settings field values
- set_label — Retrieve the page label.