Roster
[wp-members status=”in”]
[insert_php]
global $wpdb, $roster;
$maxid = $wpdb->get_var(“SELECT max(ID) FROM wp_users”);
for ($id = 1; $id <= $maxid; $id++) { $all_meta_for_user = get_user_meta( $id ); $ln =$all_meta_for_user['last_name'][0]; $roster[$ln] = "
$roster[$ln] .= “{$all_meta_for_user[‘last_name’][0]}
“;
$roster[$ln] .= “
“;
$roster[$ln] .= “
“;
$roster[$ln] .= “
“;
}
[/insert_php]
Name | Address | City | State | Zip | Phone |
To send an email to the person click on their name or right click to copy their email address.
[/wp-members]