Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Get the profile users ID from Ultimate Members
- $profile_id = um_profile_id();
- // Insert into shortcode:
- echo do_shortcode( '[my_random_badges user_id=' . $user_id . ']' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement