AnsPress_Validation::actions()
Description #
Field is being checked and sanitized
Source #
File: includes/class/validation.php
private function actions() { foreach ( (array) $this->args as $field => $actions ) { if ( isset( $actions['sanitize'] ) ) { $this->sanitize( $field, $actions['sanitize'] ); } if ( isset( $actions['validate'] ) ) { $this->validate( $field, $actions['validate'] ); } if ( isset( $actions['error'] ) ) { $this->append_errors( $field, $actions['error'] ); } } }
Expand full source code Collapse full source code View on GitHub: includes/class/validation.php:389
Add your comment