WP_Theme::errors()

Returns errors property.


Return

(WP_Error|false) WP_Error if there are errors, or false.


Source

File: wp-includes/class-wp-theme.php

	public function errors() {
		return is_wp_error( $this->errors ) ? $this->errors : false;
	}


Changelog

Changelog
Version Description
WP-3.4.0 Introduced.