Grab Meta Data
Use get_user_meta()
for that. The key is 'galink_profile'
.
echo get_user_meta( 'galink_profile', 'put the user ID here', true );
Another option is to get it from the author meta data get_the_author_meta()
if you’re displaying an author page/archive:
echo get_the_author_meta( 'galink_profile', 'put the user ID here' );
Get user IDs
You can grab the ID from the current user with get_current_user_id()
.
If it’s for a comment, use get_comment_ID()
.