WordPress at a glance
function is not described

WP_User::get() public WP 3.3.0

Retrieve the value of a property or meta key.

Retrieves from the users and usermeta table.

{} It's a method of the class: WP_User{}

No Hooks.

Return

Mixed. Null. Nothing.

Usage

$WP_User = new WP_User();
$WP_User->get( $key );
$key(string) (required)
Property

Changelog

Since 3.3.0 Introduced.

Code of WP_User::get() WP 5.7

<?php
public function get( $key ) {
	return $this->__get( $key );
}