WP_Object_Cache::__isset

Advertisement

Summery Summery

Makes private properties checkable for backward compatibility.

Syntax Syntax

WP_Object_Cache::__isset( string $name )

Parameters Parameters

$name

(Required) Property to check if set.

Return Return

(bool) Whether the property is set.

Source Source

File: wp-includes/class-wp-object-cache.php

	public function __isset( $name ) {
		return isset( $this->$name );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply