WordPress LMS for Web and mobile Forums Ionic App Support I want to display the my Course slide-tab only

I want to display the my Course slide-tab only

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20591

    Manovee
    Participant

    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

    #20898

    Scott Lang
    Keymaster

    Hi,

    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 .

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.