WP_Network::__isset( string $key ): bool

In this article

Isset-er.

Description

Allows current multisite naming conventions when checking for properties.

Parameters

$keystringrequired
Property to check if set.

Return

bool Whether the property is set.

Source

public function __isset( $key ) {
	switch ( $key ) {
		case 'id':
		case 'blog_id':
		case 'site_id':
			return true;
	}

	return false;
}

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

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