LearnDash_Settings_Section
Absract for LearnDash Settings Sections.
Description Description
Source Source
File: includes/settings/class-ld-settings-sections.php
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |
Methods Methods
- __construct — Public constructor for class
- add_meta_box_classes — Add custom classes to postbox wrapper.
- add_meta_boxes — Added Settings Section meta box.
- add_section_instance — Add instance to static tracking array
- after_load_settings_values — Update/Set the Section Settings values after loading.
- check_deprecated_class — Transition old Settiings Class to new one.
- check_deprecated_field_key — Transition old Settiings Class field(s) to new one(s).
- get_section_instance — Get the instance of our class based on the section_key
- get_section_setting — Static function to get a Section Setting value.
- get_section_setting_select_option_label — From a section settings you can access the label used on a select by the option key.
- get_section_settings_all — Static function to get all Section fields.
- get_setting — Static function to get section setting.
- get_setting_select_option_label — Static function to get section to get option label.
- get_settings_all — Static function to get all section settings.
- init — Initialize self
- load_settings_fields — Load the section settings fields.
- load_settings_values — Load the section settings values.
- save_settings_values — Save Section Settings values
- section_pre_update_option — Intercept the WP options save logic and check that we have a valid nonce.
- section_update_option — Called AFTER section settings are update.
- set_section_setting — Static function to set a Section Setting value.
- settings_page_init — Initialize the Settings page.
- settings_section_fields_validate — This validation function is set via the call to 'register_setting' and will be called for each section.
- show_meta_box — Show Settings Section meta box.
- show_settings_section — Show the meta box settings
- show_settings_section_description — Show Settings Section Description
- show_settings_section_fields — Show Settings Section Fields.
- show_settings_section_nonce_field — Output Settings Section nonce field.
- show_settings_section_reset_confirm_link — Show Settings Section reset link
- transition_deprecated_settings — Transition settings from old class into current one.
- verify_metabox_nonce_field — Verify Settings Section nonce field POST value.