Created
March 22, 2017 22:53
-
-
Save thomasplevy/1d57eb5adf33c05739bd14573c546613 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // don't copy this line into your funcitons.php file | |
/** | |
* Customize the default tab displayed when a student visits the student dashboard | |
*/ | |
function my_custom_student_dashboard_tab( $tab ) { | |
return 'view-courses'; | |
} | |
add_filter( 'llms_student_dashboard_default_tab', 'my_custom_student_dashboard_tab' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment