WP_Theme::errors()
Returns errors property.
Method of the class: WP_Theme{}
No Hooks.
Return
WP_Error|false
. WP_Error if there are errors, or false.
Usage
$WP_Theme = new WP_Theme(); $WP_Theme->errors();
Changelog
Since 3.4.0 | Introduced. |
WP_Theme::errors() WP Theme::errors code WP 6.7.1
public function errors() { return is_wp_error( $this->errors ) ? $this->errors : false; }