$value = do_shortcode('[userpro_private restrict_to_roles=subscriber,administrator][audio src="'.$file.'"][/userpro_private]');
No idea? 🙁
Here you can find help from UserPro plugin developers and other UserPro fellow users. Please be polite and ask your questions. NO SPAM!