PluginProbe
Tutor LMS – eLearning and online course solution / 1.2.13
Tutor LMS – eLearning and online course solution v1.2.13
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 trunk 1.0.0 1.0.0-alpha 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 All 191 releases
← All changes | classes/Addons.php +46 -0 1.0.31.2.13 View file →
@@ -16,8 +16,54 @@
16 16 exit;
17 17
18 18 class Addons {
19 19
20 + public function __construct() {
21 + add_filter('tutor_pro_addons_lists_for_display', array($this, 'tutor_addons_lists_to_show'));
22 + }
23 +
24 + public function tutor_addons_lists_to_show(){
25 +
26 + $addons = array(
27 + 'tutor-certificate' => array(
28 + 'name' => __('Tutor Certificate', 'tutor-certificate'),
29 + 'description' => 'Student will able to download certificate of completed course',
30 + ),
31 + 'tutor-course-attachments' => array(
32 + 'name' => __('Tutor Course Attachments', 'tutor-certificate'),
33 + 'description' => 'Add unlimited attachments/ private files to any Tutor course',
34 + ),
35 + 'tutor-course-preview' => array(
36 + 'name' => __('Tutor Course Preview', 'tutor-certificate'),
37 + 'description' => 'Open some lesson to check course overview for guest',
38 + ),
39 + 'tutor-email' => array(
40 + 'name' => __('Tutor E-Mail', 'tutor-certificate'),
41 + 'description' => 'Send email on various tutor events',
42 + ),
43 + 'tutor-multi-instructors' => array(
44 + 'name' => __('Tutor Multi Instructors', 'tutor-certificate'),
45 + 'description' => 'Start a course with multiple instructors by Tutor Multi Instructors',
46 + ),
47 + 'tutor-prerequisites' => array(
48 + 'name' => __('Tutor Prerequisites', 'tutor-certificate'),
49 + 'description' => 'Specific course you must complete before you can enroll new course by Tutor Prerequisites',
50 + ),
51 + 'tutor-report' => array(
52 + 'name' => __('Tutor Report', 'tutor-certificate'),
53 + 'description' => 'Check your tutor assets performance through tutor report',
54 + ),
55 + );
56 +
57 +
58 + return $addons;
59 + }
60 +
61 +
62 + /**
63 + * @deprecated from alpha version
64 + */
65 +
20 66 public function addons_page(){
21 67
22 68 if ( false === ( $addons_themes_data = get_transient( 'tutor_addons_themes_data' ) ) ) {
23 69 //Request New