This tip is for restricting the users to see the badges and certificates of another users.
Please follow this simple step:
- Please Paste the below code in wplms-customizer.php file present in your wplms customizer plugin.
add_action('init','custom_hide_certificate_badge'); function custom_hide_certificate_badge(){ if(!(is_user_logged_in() && bp_is_my_profile())){ remove_action('bp_before_profile_content','show_profile_snapshot'); } }