Last active
March 22, 2017 21:49
-
-
Save thomasplevy/b1feaf56858d3e946d3c0271f4d4d3eb 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 to your functions.php file | |
/** | |
* Customize the number of "recent courses" displayed on the LifterLMS Student Dashboard | |
* @param int $count default number of courses (3) | |
* @return int | |
*/ | |
function my_custom_llms_dashboard_recent_courses_count( $count ) { | |
return 10; | |
} | |
add_filter( 'llms_dashboard_recent_courses_count', 'my_custom_llms_dashboard_recent_courses_count' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment