Isset-er.
Allows current multisite naming conventions when checking for properties.
(string) (Required) Property to check if set.
(bool) Whether the property is set.
File: wp-includes/class-wp-network.php
public function __isset( $key ) { switch ( $key ) { case 'id': case 'blog_id': case 'site_id': return true; } return false; }
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_network/__isset