WP_Theme::errors(): WP_Error|false

Returns errors property.


Return

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


Top ↑

More Information

Returns WP_Error object with error information. If there isn’t any error information then it returns false.


Top ↑

Source

File: wp-includes/class-wp-theme.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.