In Course directory, the status of course is shown, whether the course is completed or not. If you click on that you’ll land on single course page. Again you have to click a button to continue your course.
To bypass this two clicks you need to add the code shared below
Paste this code in wp-admin > Plugins > Editor > WPLMS Customizer Plugin > wplms-customizer.php
add_filter('bp_course_single_item_view','custom_bp_course_single_item_view'); function custom_bp_course_single_item_view($x){ global $post; $course_post_id = $post->ID; $course_author= $post->post_author; $course_classes = apply_filters('bp_course_single_item','course_single_item course_id_'.$post->ID.' course_status_'.$post->post_status.' course_author_'.$post->post_author,get_the_ID()); ?>
( '.get_post_status().' ) ';} ?>
$course_author)); ?>