APP_User_Meta_Box
Create new Fields Section on Edit Profile form.
Package
Description Description
Methods Methods
- __construct — Initiates Section registration on appropriate pages.
- after_form — Display some extra HTML after the form.
- before_display — Filter data before display.
- before_form — Display some extra HTML before the form.
- before_save — Filter data before save.
- condition — Additional checks before registering the metabox.
- display — Displays metabox content.
- form_fields — Returns section fields array in scbForms style.
- frontend_register — Registers the metabox on the frontend.
- get_id — Retrieves the metabox id.
- get_meta — Returns an array of user meta.
- get_user_id — Returns current term ID.
- nonce — Displays the nonce hidden form field.
- register — Registers the metabox.
- save — Saves metabox form data.
- set_keys — Makes form array associative.
- single — Replaces the array item key to its value.
- table — Returns table.
- table_row — Returns table row.
- update_errors — Adds validation errors to WP_Error object to show them on the form.
- validate_field — Validate field data and return error message if field data invalid.
- validate_fields_data — Validate all posted fields and set up error messages if field data invalid.
- wrap_desc — Wraps description text to span html tag to save form markup.