WP_Error::has_errors(): bool In this article Table of ContentsReturn Source Related Changelog ↑ Back to top Verifies if the instance contains errors. Return bool If the instance contains errors. Source public function has_errors() { if ( ! empty( $this->errors ) ) { return true; } return false; } View all references View on Trac View on GitHub Related Used byDescriptionlogin_header()wp-login.phpOutputs the login page header. WP_Error::get_error_codes()wp-includes/class-wp-error.phpRetrieves all error codes. Changelog VersionDescription5.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.