Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohit-skywalker/975dbe1e8004b462b46418b66fdf9e6a to your computer and use it in GitHub Desktop.
Save rohit-skywalker/975dbe1e8004b462b46418b66fdf9e6a to your computer and use it in GitHub Desktop.
add_filter('wplms_course_details_array','wplms_custom_course_details_information');
function wplms_custom_course_details_information($course_details){
$course_details['custom']= array(
'label' => 'custom',
'callback' => false,
);
return $course_details;
}
add_filter('wplms_course_details_widget','custom_info_course_widget',999999);
function custom_info_course_widget($course_details){
$course_details['custom'] = "<li>I am a custom Detail<i class='fa fa-dribbble'></i></li>";
return $course_details;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment