WP_User::get │ public │ WP 3.3.0

Retrieves the value of a property or meta key.

Retrieves from the users and usermeta table.

Метод класса: WP_User{}

Хуков нет.

Возвращает

mixed.

Использование

$WP_User = new WP_User();
$WP_User->get( $key );
$key(строка) (обязательный)
Property.

Список изменений

С версии 3.3.0 Введена.

Код WP_User::get() WP 7.1.4

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