Created
April 15, 2017 06:52
-
-
Save rohit-skywalker/975dbe1e8004b462b46418b66fdf9e6a 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
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