Isset-er.
Description
Allows current multisite naming conventions when checking for properties.
Parameters
$key
stringrequired- Property to check if set.
Source
public function __isset( $key ) {
switch ( $key ) {
case 'id':
case 'blog_id':
case 'site_id':
return true;
}
return false;
}
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.