WP_Theme::__isset( string $offset )

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

Parameters Parameters


(string) (Required) Property to check if set.

Top ↑

Return Return

(bool) Whether the given property is set.

Top ↑

Source Source

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

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

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

Top ↑

Changelog Changelog

Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.