WP_Theme::errors(): WP_Error|false
Returns errors property.
Return
More Information
Returns WP_Error object with error information. If there isn’t any error information then it returns false.
Source
File: wp-includes/class-wp-theme.php
.
View all references
public function errors() {
return is_wp_error( $this->errors ) ? $this->errors : false;
}
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |