WordPress LMS for Web and mobile › Forums › Ionic App Support › I want to display the my Course slide-tab only
Hi,
I want to display the my course( slide-tab) inside content only from profile page…
See the screenshot -> http://prntscr.com/mp12lb
I want remove the all slide-tab except my course …
See the screenshot -> http://prntscr.com/mp119k
Add this code to your customizer plugin- > wplms-customizer.php ,
add_filter(‘bp_course_api_get_user_profile_tabs’,function ($tabs){
foreach($tabs as $tab){
if($tab[‘key’] == ‘courses’){
$newTab[]= $tab;
}
return $newTab;
},10,1);
Logout from app and Login to app .