Uses
Uses | Description |
---|---|
wp-includes/class-wp-user.php: WP_User::__get() | Magic method for accessing custom fields. |
Retrieve the value of a property or meta key.
Retrieves from the users and usermeta table.
(string) (Required) Property
(mixed)
File: wp-includes/class-wp-user.php
public function get( $key ) { return $this->__get( $key ); }
Version | Description |
---|---|
3.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_user/get