WP_User::get( string $key ): mixed

Retrieves the value of a property or meta key.

Description

Retrieves from the users and usermeta table.

Parameters

$keystringrequired
Property

Return

mixed

Source

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

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.