Retrieves the value of a property or meta key.
Retrieves from the users and usermeta table.
$keystringrequired
public function get( $key ) {
return $this->__get( $key );
}
| Version | Description |
|---|---|
| 3.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_user/get