BP_XProfile_Field::__get( string $key )
Magic getter.
Description Description
Parameters Parameters
- $key
-
(Required) Property name.
Return Return
(string|null)
Source Source
File: bp-xprofile/classes/class-bp-xprofile-field.php
public function __get( $key ) { switch ( $key ) { case 'default_visibility' : return $this->get_default_visibility(); break; case 'allow_custom_visibility' : return $this->get_allow_custom_visibility(); break; } }
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |