Created
December 30, 2015 19:37
-
-
Save mavieth/240609e1ce9963999a67 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $blogusers = get_general_users(); | |
| $arr = array(); | |
| foreach ( $blogusers as $user ) { | |
| $meta = get_user_meta($user->ID); | |
| $link = get_edit_user_link( $user->ID); | |
| $editUserLink = '<a href=' .$link. '>Edit User Profile</a>'; | |
| $profileArray =array( | |
| "Display Name" => $user->display_name, | |
| "Email Address" => $user->user_email, | |
| "User Registered Date" => $user->user_registered, | |
| "Trainer ID" => $user->trainer_id, | |
| "Edit User" => $editUserLink | |
| ); | |
| array_push($arr, $profileArray); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment