WordPress at Your Fingertips
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.


true|false. Whether the given property is set.


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


Since 3.4.0 Introduced.

Code of WP_Theme::__isset() WP 5.7.2

public function __isset( $offset ) {
	static $properties = array(

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