Description
Get userdata for the selected user ID
Usage
bw_get_userdata( $id, $field, $default );Parameters
- $id
- ( mixed ) required –
- $field
- ( mixed ) required –
- $default
- ( mixed ) required –
Returns
voidSource
File name: oik-themes/feed/oik-themes-feed.phpLines:
1 to 8 of 8
function bw_get_userdata( $id, $field, $default ) { $userdata = get_userdata( $id ); bw_trace2( $userdata, "userdata" ); $value = $userdata->data->$field; bw_trace2( $value ); return( $value ); }View on GitHub
Called by
1 to 2 of 2
- bw_get_author_name() – Return a link to the author’s home page Determine the author’s display name from the post author then append it to their website URL
- oikth_get_author_name() – Return a link to the author’s home page Determine the author’s display name from the post author then append it to their website URL
Invoked by
Call hooks
API Letters:
