LearnDash_Settings_Metabox
Class for LearnDash Settings Sections.
Description #
Source #
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_metabox_instance — Add instance to static tracking array
- apply_metabox_settings_fields_changes — Update Metabox Settings values.
- build_settings_select2_lib_ajax_fetch_json — Generate the JSON data attribute for select2 AJAX.
- check_legacy_metabox_fields — Check legacy metabox fields
- display_settings_filter — Filter the legacy settings fields when display to remove items handled by this metabox,
- get_metabox_instance — Get the instance of our class based on the metabox_key
- get_metabox_settings_value_by_key — Get Settings Metabox Field Value by key.
- get_post_settings_field_updates — Get Settings Metabox post updates.
- get_save_settings_fields_map_form_post_values — Get save settings fields map from post values.
- get_settings_field_by_key — Get settings by field key
- get_settings_metabox_fields — Get Settings Metabox Fields.
- get_settings_metabox_values — Get Settings Metabox Values.
- init — Initialize the Metabox instance.
- init_quiz_edit — Initialize quiz edit.
- load_settings_field — Load settings fields
- load_settings_fields — Load the section settings fields.
- load_settings_values — Load the section settings values.
- save_fields_to_post — Save fields to post
- save_post_meta_box — Save Settings Metabox
- show_meta_box — Show Settings Section meta box.
- show_metabox_nonce_field — Output Metabox nonce field.
- show_settings_metabox — Show the meta box settings
- show_settings_metabox_fields — Show Settings Section Fields.
- show_settings_section_description — Show Settings Section Description
- trigger_metabox_settings_post_filters — Trigger Filters forSettings Metabox post updates.
- validate_fields_with_validator — Validate all fields with the validator, if we have one.
- validate_metabox_settings_post_updates — Validate Settings Metabox post updates.
- verify_metabox_nonce_field — Verify Metabox nonce field POST value.