WP_Network::__isset
Isset-er.
Allows current multisite naming conventions when checking for properties.
Method of the class: WP_Network{}
No Hooks.
Returns
true|false. Whether the property is set.
Usage
$WP_Network = new WP_Network(); $WP_Network->__isset( $key );
- $key(string) (required)
- Property to check if set.
Changelog
| Since 4.6.0 | Introduced. |
WP_Network::__isset() WP Network:: isset code WP 6.9.1
public function __isset( $key ) {
switch ( $key ) {
case 'id':
case 'blog_id':
case 'site_id':
return true;
}
return false;
}