WP_Theme::errors()

Returns errors property.


Return Return

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


Top ↑

Source Source

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

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


Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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