Please note the following points :
1. Your vibe course module plugin version must be 1.9.8.4 or more .
2. Make the courses free if you want to use the membership for the course .
3. Assign membership from the backend .
4. Disable auto allocation of free courses from wp-admin ->lms ->settings.
5. Provide buy membership page link on the button in the fallback message option .
Please add the given code in your wp-content/plugins/wplms-customizer/wplms-customizer.php file :
// rsp integration $filters = array( 'wplms_course_non_loggedin_user', 'wplms_start_course_button', 'wplms_continue_course_button', 'wplms_evaluation_course_button', 'wplms_default_course_button', 'wplms_expired_course_button', 'wplms_private_course_button', 'wplms_take_course_button' ); foreach($filters as $filter){ add_filter($filter,'add_membership_support'); } function add_membership_support($x){ return apply_filters('the_content',$x); } add_filter('wplms_free_course_price','free_with_rsp'); function free_with_rsp($x){ return $x=""; } add_action('wp_footer','hide_icon'); function hide_icon(){ global $post; $free_course = get_post_meta($post->ID,'vibe_course_free',true); if(vibe_validate($free_course)){ echo "<style>.course_details li i.icon-wallet-money {display: none;}</style>"; } }