Skip to content

Instantly share code, notes, and snippets.

@champsupertramp
Last active June 27, 2018 10:13
Show Gist options
  • Save champsupertramp/7c15248980c6dd318fbe to your computer and use it in GitHub Desktop.
Save champsupertramp/7c15248980c6dd318fbe to your computer and use it in GitHub Desktop.
<?php
/***
*** @Get User Meta
***/
// You can set the user id to retrieve the meta key value
// global $ultimatemember;
// $ultimatemember->user->set( $user_ID );
echo um_user('first_name');
// You can check some useful meta keys/values that you can
// retrieve with the above function here: https://codex.wordpress.org/Function_Reference/get_userdata#Notes
?>
@ankitsingh101
Copy link

Did it worded i want to add column in wordpress users.php with user meta from ultimate member plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment