WP_Error::has_errors(): bool In this article Table of ContentsReturn Source 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 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.