WordPress at a glance
function is not described

WP_Theme::__isset() public WP 3.4.0

__isset() magic method for properties formerly returned by current_theme_info()

{} It's a method of the class: WP_Theme{}

No Hooks.

Return

true/false. Whether the given property is set.

Usage

$WP_Theme = new WP_Theme();
$WP_Theme->__isset( $offset );
$offset(string) (required)
Property to check if set.

Changelog

Since 3.4.0 Introduced.

Code of WP_Theme::__isset() WP 5.5.1

<?php
public function __isset( $offset ) {
	static $properties = array(
		'name',
		'title',
		'version',
		'parent_theme',
		'template_dir',
		'stylesheet_dir',
		'template',
		'stylesheet',
		'screenshot',
		'description',
		'author',
		'tags',
		'theme_root',
		'theme_root_uri',
	);

	return in_array( $offset, $properties, true );
}