Hi, I would like to hide the "MY COURSES" and "RESULTS" tabs in buddypress. When the user clicks on "COURSES", it should default to "STATS" and show that.
Thank you.
See screenshot:
http://prnt.sc/dgkfxj
You can hide the "my courses" and "results" tab through custom css. But to make stats tab default you need to make changes in the plugin file.
Go to vibe course module->includes->bp-course-loader.php file: function setup_nav() and edit the screen-option and the slug, refer: http://prntscr.com/dguciv
Now by default stats will open.
This cannot be done from external code because there is no filter added in this function.