WP_Theme::exists

SummerySummery

Whether the theme exists.

Syntax

WP_Theme::exists()

DescriptionDescription

A theme with errors exists. A theme with the error of ‘theme_not_found’, meaning that the theme’s directory was not found, does not exist.

ReturnReturn

(bool) Whether the theme exists.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top