Field::have_errors()
Description #
Check if field have any errors.
Source #
File: lib/form/class-field.php
public function have_errors() { if ( ! empty( $this->errors ) ) { return true; } return false; }
Expand full source code Collapse full source code View on GitHub: lib/form/class-field.php:382
Add your comment