Property | Type | Description | |
---|---|---|---|
$_link | |||
$avatar | The URL of the author's avatar | ||
$description | The description from WordPress | ||
$display_name | |||
$first_name | The first name of the user | ||
$id | The ID from WordPress | ||
$last_name | The last name of the user | ||
$object_type | |||
$representation | |||
$user_nicename |
Method | Description | |
---|---|---|
__construct ( object | integer | boolean $uid = false ) | ||
__set ( string $field, mixed $value ) | ||
__toString ( ) : string | ||
get_custom ( ) : array | null | ||
get_meta ( string $field_name ) : null | ||
get_meta_field ( string $field_name ) : mixed | ||
link ( ) : string | ||
meta ( string $field_name ) : mixed | ||
name ( ) : string | ||
path ( ) : string | ||
slug ( ) : string |
Method | Description | |
---|---|---|
init ( object | integer | boolean $uid = false ) |
public __toString ( ) : string | ||
return | string | a fallback for TimberUser::name() |
public get_meta_field ( string $field_name ) : mixed | ||
$field_name | string | |
return | mixed |