EVF_Settings_API class.
Methods
- add_error — Add an error message for display in admin on save.
- admin_options — Output the admin options table.
- display_errors — Display admin error messages.
- generate_checkbox_html — Generate Checkbox HTML.
- generate_color_html — Generate Color Picker Input HTML.
- generate_multiselect_html — Generate Multiselect HTML.
- generate_password_html — Generate Password Input HTML.
- generate_select_html — Generate Select HTML.
- generate_settings_html — Generate Settings HTML.
- generate_text_html — Generate Text Input HTML.
- generate_textarea_html — Generate Textarea HTML.
- generate_title_html — Generate Title HTML.
- get_custom_attribute_html — Get custom attributes.
- get_description_html — Get HTML for descriptions.
- get_errors — Get admin error messages.
- get_field_default — Get a fields default value. Defaults to “” if not set.
- get_field_key — Prefix key for settings.
- get_field_type — Get a fields type. Defaults to “text” if not set.
- get_field_value — Get a field’s posted and validated value.
- get_form_fields — Get the form fields after they are initialized.
- get_option — Get option from DB.
- get_option_key — Return the name of the option in the WP DB.
- get_post_data — Returns the POSTed data, to be used to save the settings.
- get_tooltip_html — Get HTML for tooltips.
- init_form_fields — Initialise settings form fields.
- init_settings — Initialise Settings.
- process_admin_options — Processes and saves options.
- set_defaults — Set default required properties for each field.
- set_post_data — Sets the POSTed data. This method can be used to set specific data, instead of taking it from the $_POST array.
- update_option — Update a single option.
- validate_checkbox_field — Validate Checkbox Field.
- validate_multiselect_field — Validate Multiselect Field.
- validate_password_field — Validate Password Field. No input sanitization is used to avoid corrupting passwords.
- validate_select_field — Validate Select Field.
- validate_text_field — Validate Text Field.
- validate_textarea_field — Validate Textarea Field.