WP_User::get()publicWP 3.3.0

Retrieves the value of a property or meta key.

Retrieves from the users and usermeta table.

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

Хуков нет.

Возвращает

Разное.

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

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

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

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

Код WP_User::get() WP 6.5.2

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