WP_Theme::errors(): WP_Error|false In this article Table of ContentsReturn More Information Source Related Changelog ↑ Back to top Returns errors property. Return WP_Error|false WP_Error if there are errors, or false. More Information Returns WP_Error object with error information. If there isn’t any error information then it returns false. Source public function errors() { return is_wp_error( $this->errors ) ? $this->errors : false; } View all references View on Trac View on GitHub Related UsesDescriptionis_wp_error()wp-includes/load.phpChecks whether the given variable is a WordPress Error. Used byDescriptionwp_get_theme_preview_path()wp-includes/theme-previews.phpFilters the blog option to return the path for the previewed theme. WP_Theme::get_post_templates()wp-includes/class-wp-theme.phpReturns the theme’s post templates. wp_get_themes()wp-includes/theme.phpReturns an array of WP_Theme objects based on the arguments. WP_Theme::get_stylesheet_directory()wp-includes/class-wp-theme.phpReturns the absolute path to the directory of a theme’s “stylesheet” files. WP_Theme::exists()wp-includes/class-wp-theme.phpDetermines whether the theme exists. Changelog VersionDescription3.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.