WP_User::get( string $key )

Retrieve the value of a property or meta key.


Description Description

Retrieves from the users and usermeta table.


Parameters Parameters

$key

(string) (Required) Property


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: wp-includes/class-wp-user.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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