Validator
Base validator class.
Description #
Source #
Changelog #
Version | Description |
---|---|
4.8.0 | Introduced. |
Methods #
- get_actions_for_field — Returns the actions for a field to show in the WP frontend.
- get_labels — Returns the labels for the validator.
- get_rule_sets — Returns the rule sets for the validator.
- validate — Validates the given values.