WP_Network::__isset
Isset-er.
Allows current multisite naming conventions when checking for properties.
Метод класса: WP_Network{}
Хуков нет.
Возвращает
true|false. Whether the property is set.
Использование
$WP_Network = new WP_Network(); $WP_Network->__isset( $key );
- $key(строка) (обязательный)
- Property to check if set.
Список изменений
| С версии 4.6.0 | Введена. |
Код WP_Network::__isset() WP Network:: isset WP 7.1
public function __isset( $key ) {
switch ( $key ) {
case 'id':
case 'blog_id':
case 'site_id':
return true;
}
return false;
}