LLMS_Admin_Metabox
Admin metabox abstract class
Description Description
Source Source
File: includes/abstracts/abstract.llms.admin.metabox.php
Changelog Changelog
Version | Description |
---|---|
3.37.19 | Bail if the global $post is empty, before registering our meta boxes. |
3.37.12 | Simplify save() by moving logic to sanitize and update posted data to save_field() . Add field sanitize option "no_encode_quotes" which functions like previous "shortcode" but is more semantically accurate. |
3.36.1 | Improve save() method. |
3.36.0 | Allow quotes to be saved without being encoded for some special fields that store a shortcode. |
3.35.0 | Sanitize and verify nonce when saving metabox data. |
3.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- add_error — Add an Error Message.
- configure — This function allows extending classes to configure required class properties.
- get_errors — Retrieve stored metabox errors.
- get_fields — This function is where extending classes can configure all the fields within the metabox.
- get_screens — Normalizes $this->screens to ensure it's an array.
- has_errors — Determine if any errors have been added to the metabox.
- output — Generate and output the HTML for the metabox.
- output_errors — Display the messages as a WP Admin Notice.
- process_fields — Process fields to setup navigation and content with minimal PHP loops.
- register — Register the Metabox using WP Functions.
- save — Save field data.
- save_actions — Perform Save Actions.
- save_after — Allows extending classes to perform additional save methods after the default save.
- save_before — Allows extending classes to perform additional save methods before the default save.
- save_errors — Save messages to the database.
- save_field — Save a metabox field.