LLMS_Admin_Settings
Admin settings and fields class
Description Description
Source Source
File: includes/admin/class.llms.admin.settings.php
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Use dashicons for tooltip icon display. |
3.37.9 | Add option for fields to show an asterisk for required fields. |
3.35.2 | Don't strip tags on editor and textarea fields that allow HTML. |
3.35.1 | Fix saving issue. |
3.35.0 | Sanitize input data. |
3.34.4 | Add "keyval" field for displaying custom html next to a setting key. |
3.29.0 | Unknown. |
1.0.0 | Introduced. |
Methods Methods
- display_messages_html — display messages in settings
- format_field_custom_attributes — Formats an associative array of custom field attributes as an array of HTML strings
- get_option — Get a setting from the settings API.
- get_settings_tabs — Inits $settings and includes settings base class.
- output — Settings Page output tabs
- output_field — Output fields
- output_fields — Output fields for settings tabs. Dynamically generates fields.
- save — Save method. Saves all fields on current tab
- save_fields — Save admin fields.
- set_error — set message to messages array
- set_field_defaults — Add and set default values for a field when looping
- set_field_descriptions — Setup a field's tooltip and description based on supplied values
- set_message — set message to messages array