Last active
February 22, 2021 11:30
-
-
Save cryptexvinci/f4729185a8b4e553e6d58bd6a0410973 to your computer and use it in GitHub Desktop.
Ultimate member - Display User ID below Username in Profile Page.
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
<?php | |
/** | |
* Ultimate member - Display User ID below Username in Profile Page. | |
* @link https://wordpress.org/plugins/ultimate-member/ | |
*/ | |
function custom_display_id_profile_page(){ | |
echo '<p>'; | |
esc_html_e( 'Membership ID: ', 'theme-name'); | |
echo um_profile_id(); | |
echo '</p>'; | |
} | |
add_action( 'um_after_profile_header_name_args', 'custom_display_id_profile_page', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Im looking for a way to Generate A unique (PUBLIC_KEY) For every user, And i want to use this PUBLiC_KEY as Rafferance of the new user if new your signed with A unique public key of another user, he will be marked as the reference to the new user on this profile