Hi I am using modern theme,
Now we have <span style="line-height: 1.5;">"Review Course" button Take This Course Page</span>
And I want to add "Review Course" button to course page also http://ustalarindan.com/course/ideal-kilonun-sirlari/
Or its possible to send e-mail to students after 1 week later they take course?
1) Use this code in your wplms-customizer.php file before "?>" present in your wplms customizer plugin:
add_filter('wplms_course_details_widget','custom_add_review_course_button',99,2);
function custom_add_review_course_button($course_details,$course_id){
?>
<form action="<?php echo get_permalink($course_id); ?>" method="post">
<?php
$user_id = get_current_user_id();
$finishbit=bp_course_get_user_course_status($user_id,$course_id);
if(is_numeric($finishbit)){
if($finishbit < 4){
echo '<input type="submit" name="review_course" class="review_course unit_button full button" value="'. __('REVIEW COURSE ','vibe').'" />';
}
}
wp_nonce_field($course_id,'review');
?>
</form>
<?php
return $course_details;
}
2) Sorry this is not available in wplms.
Thank you so much Latiyan.
For 2 do you have a plan to add this feature? it would be big improvement :)
Thanks for confirming, so marking the topic as resolved and closing the topic.
For 2nd you can create a feature request here:
https://wplms.io/support/forums/forum/general/feature-request/