Hello,
I'd like to have a custom page with only the certificates of the student.
I've manage to create a new profile page with the content I want and now I just need the code to get the certificates that the user logged in has.
Could you please inform me what's the code to get the certificates?
Thanks!
If it is profile page template the you just have to put this line in it .
do_action('bp_before_profile_content');
On this hook " show_profile_snapshot() " this fucntion shows the certificates and badges of the user .
This function is present in the wp-content/themes/wplms/includes/bp-custom.php file .
It worked nicely! Thank you so much Alex!