Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

user info

$
0
0

I use this code to get the name of a specific user:
add_shortcode('wpv-user', 'my_user_shortcode');
function my_user_shortcode($atts, $content = null) {
global $WP_Views, $current_user;
$WP_Views->users_data['term'] = get_userdata($atts['id']);
return wpv_user($atts);
}

But how to get the other information like e-mailaddress.


Viewing all articles
Browse latest Browse all 20145

Trending Articles