WP_User::get
Retrieves the value of a property or meta key.
Retrieves from the users and usermeta table.
Method of the class: WP_User{}
No Hooks.
Returns
Mixed
.
Usage
$WP_User = new WP_User(); $WP_User->get( $key );
- $key(string) (required)
- Property.
Changelog
Since 3.3.0 | Introduced. |
WP_User::get() WP User::get code WP 6.8.1
public function get( $key ) { return $this->__get( $key ); }