APP_Listing_User_Metabox
Base class for displaying a meta box with all the custom fields attached to a listing.
Package
Contents
Description Description
Methods Methods
- __construct — Constructs the listing custom fields meta box.
- _apply_atts — Apply field attributes by calling a field type specific callback.
- _get_form_valid_fields — Retrieves all the valid fields for the meta box (excludes internal fields and others set by the include/exclude filters).
- admin_enqueue_scripts — Enqueues admin scripts.
- condition — Additional checks before registering the metabox.
- exclude_filters — Retrieves a list of field attributes used to excluded certain fields from the final field list.
- form — Retrieve the meta box fields list.
- form_fields — Returns an array of form fields.
- include_filters — Retrieves a list of field attributes used to include certain fields in the final field list.
- save — Saves metabox form data.
- update_errors — Adds validation errors to WP_Error object to show them on the form.
- validate_fields_data — Look for existing errors after each field is processed.