Verifies if the instance contains errors.
Source
public function has_errors() {
if ( ! empty( $this->errors ) ) {
return true;
}
return false;
}
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
| CARVIEW |
Verifies if the instance contains errors.
public function has_errors() {
if ( ! empty( $this->errors ) ) {
return true;
}
return false;
}
| Used by | Description |
|---|---|
login_header()wp-login.php | Outputs the login page header. |
WP_Error::get_error_codes()wp-includes/class-wp-error.php | Retrieves all error codes. |
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.