Addons.php
2 years ago
Admin.php
2 years ago
Ajax.php
2 years ago
Announcements.php
3 years ago
Assets.php
2 years ago
Backend_Page_Trait.php
3 years ago
Course.php
2 years ago
Course_Embed.php
3 years ago
Course_Filter.php
2 years ago
Course_List.php
2 years ago
Course_Settings_Tabs.php
3 years ago
Course_Widget.php
3 years ago
Custom_Validation.php
3 years ago
Dashboard.php
3 years ago
FormHandler.php
2 years ago
Frontend.php
2 years ago
Gutenberg.php
3 years ago
Input.php
3 years ago
Instructor.php
2 years ago
Instructors_List.php
2 years ago
Lesson.php
2 years ago
Options_V2.php
2 years ago
Permalink.php
2 years ago
Post_types.php
2 years ago
Private_Course_Access.php
3 years ago
Q_and_A.php
2 years ago
Question_Answers_List.php
3 years ago
Quiz.php
2 years ago
Quiz_Attempts_List.php
2 years ago
RestAPI.php
2 years ago
Reviews.php
3 years ago
Rewrite_Rules.php
2 years ago
Shortcode.php
2 years ago
Student.php
2 years ago
Students_List.php
3 years ago
Taxonomies.php
3 years ago
Template.php
2 years ago
Theme_Compatibility.php
3 years ago
Tools.php
3 years ago
Tools_V2.php
3 years ago
Tutor.php
2 years ago
TutorEDD.php
2 years ago
Tutor_Base.php
2 years ago
Tutor_Setup.php
2 years ago
Upgrader.php
2 years ago
User.php
2 years ago
Utils.php
2 years ago
Video_Stream.php
3 years ago
WhatsNew.php
2 years ago
Withdraw.php
2 years ago
Withdraw_Requests_List.php
3 years ago
WooCommerce.php
2 years ago
Addons.php
146 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Manage Addons |
| 4 | * |
| 5 | * @package Tutor |
| 6 | * @author Themeum <support@themeum.com> |
| 7 | * @link https://themeum.com |
| 8 | * @since 1.0.0 |
| 9 | */ |
| 10 | |
| 11 | namespace TUTOR; |
| 12 | |
| 13 | if ( ! defined( 'ABSPATH' ) ) { |
| 14 | exit; |
| 15 | } |
| 16 | /** |
| 17 | * Addons Class |
| 18 | * |
| 19 | * @since 1.0.0 |
| 20 | */ |
| 21 | class Addons { |
| 22 | |
| 23 | /** |
| 24 | * Constructor |
| 25 | * |
| 26 | * @since 1.0.0 |
| 27 | * @return void |
| 28 | */ |
| 29 | public function __construct() { |
| 30 | add_filter( 'tutor_pro_addons_lists_for_display', array( $this, 'tutor_addons_lists_to_show' ) ); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Get tutor addons list |
| 35 | * |
| 36 | * @since 1.0.0 |
| 37 | * @return array |
| 38 | */ |
| 39 | public function tutor_addons_lists_to_show() { |
| 40 | $addons = array( |
| 41 | 'course-bundle' => array( |
| 42 | 'name' => __( 'Course Bundle', 'tutor' ), |
| 43 | 'description' => __( 'Group multiple courses to sell together.', 'tutor' ), |
| 44 | ), |
| 45 | 'social-login' => array( |
| 46 | 'name' => __( 'Social Login', 'tutor' ), |
| 47 | 'description' => __( 'Let users register & login through social network like Facebook, Google, etc.', 'tutor' ), |
| 48 | ), |
| 49 | 'content-drip' => array( |
| 50 | 'name' => __( 'Content Drip', 'tutor' ), |
| 51 | 'description' => 'Unlock lessons by schedule or when the student meets specific condition.', |
| 52 | ), |
| 53 | 'tutor-multi-instructors' => array( |
| 54 | 'name' => __( 'Tutor Multi Instructors', 'tutor' ), |
| 55 | 'description' => 'Start a course with multiple instructors by Tutor Multi Instructors', |
| 56 | ), |
| 57 | 'tutor-assignments' => array( |
| 58 | 'name' => __( 'Tutor Assignments', 'tutor' ), |
| 59 | 'description' => 'Tutor assignments is a great way to assign tasks to students.', |
| 60 | ), |
| 61 | 'tutor-course-preview' => array( |
| 62 | 'name' => __( 'Tutor Course Preview', 'tutor' ), |
| 63 | 'description' => 'Unlock some lessons for students before enrollment.', |
| 64 | ), |
| 65 | 'tutor-course-attachments' => array( |
| 66 | 'name' => __( 'Tutor Course Attachments', 'tutor' ), |
| 67 | 'description' => 'Add unlimited attachments/ private files to any Tutor course', |
| 68 | ), |
| 69 | 'google-meet' => array( |
| 70 | 'name' => __( 'Tutor Google Meet Integration', 'tutor' ), |
| 71 | 'description' => __( 'Connect Tutor LMS with Google Meet to host live online classes. Students can attend live classes right from the lesson page.', 'tutor' ), |
| 72 | ), |
| 73 | 'tutor-report' => array( |
| 74 | 'name' => __( 'Tutor Report', 'tutor' ), |
| 75 | 'description' => 'Check your course performance through Tutor Report stats.', |
| 76 | ), |
| 77 | 'tutor-email' => array( |
| 78 | 'name' => __( 'Email', 'tutor' ), |
| 79 | 'description' => 'Send email on various tutor events', |
| 80 | ), |
| 81 | 'calendar' => array( |
| 82 | 'name' => 'Calendar', |
| 83 | 'description' => 'Allow students to see everything in a calendar view in the front dashboard.', |
| 84 | ), |
| 85 | 'tutor-notifications' => array( |
| 86 | 'name' => 'Notifications', |
| 87 | 'description' => 'Get On Site and Push Notifications on specified tutor events.', |
| 88 | ), |
| 89 | 'google-classroom' => array( |
| 90 | 'name' => __( 'Google Classroom Integration', 'tutor' ), |
| 91 | 'description' => __( 'Helps connect Google Classrooms with Tutor LMS courses, allowing you to use features like Classroom streams and files directly from the Tutor LMS course.', 'tutor' ), |
| 92 | ), |
| 93 | 'tutor-zoom' => array( |
| 94 | 'name' => __( 'Tutor Zoom Integration', 'tutor' ), |
| 95 | 'description' => __( 'Connect Tutor LMS with Zoom to host live online classes. Students can attend live classes right from the lesson page.', 'tutor' ), |
| 96 | ), |
| 97 | 'quiz-import-export' => array( |
| 98 | 'name' => __( 'Quiz Export/Import', 'tutor' ), |
| 99 | 'description' => __( 'Save time by exporting/importing quiz data with easy options.', 'tutor' ), |
| 100 | ), |
| 101 | 'enrollments' => array( |
| 102 | 'name' => __( 'Enrollment', 'tutor' ), |
| 103 | 'description' => 'Take advanced control on enrollment. Enroll the student manually.', |
| 104 | ), |
| 105 | 'tutor-certificate' => array( |
| 106 | 'name' => __( 'Tutor Certificate', 'tutor' ), |
| 107 | 'description' => 'Students will be able to download a certificate after course completion.', |
| 108 | ), |
| 109 | 'gradebook' => array( |
| 110 | 'name' => __( 'Gradebook', 'tutor' ), |
| 111 | 'description' => 'Shows student progress from assignment and quiz', |
| 112 | ), |
| 113 | 'tutor-prerequisites' => array( |
| 114 | 'name' => __( 'Tutor Prerequisites', 'tutor' ), |
| 115 | 'description' => 'Specific course you must complete before you can enroll new course by Tutor Prerequisites', |
| 116 | ), |
| 117 | 'buddypress' => array( |
| 118 | 'name' => __( 'BuddyPress', 'tutor' ), |
| 119 | 'description' => 'Discuss about course and share your knowledge with your friends through BuddyPress', |
| 120 | ), |
| 121 | 'wc-subscriptions' => array( |
| 122 | 'name' => __( 'WooCommerce Subscriptions', 'tutor' ), |
| 123 | 'description' => 'Capture Residual Revenue with Recurring Payments.', |
| 124 | ), |
| 125 | 'pmpro' => array( |
| 126 | 'name' => __( 'Paid Memberships Pro', 'tutor' ), |
| 127 | 'description' => 'Maximize revenue by selling membership access to all of your courses.', |
| 128 | ), |
| 129 | 'restrict-content-pro' => array( |
| 130 | 'name' => __( 'Restrict Content Pro', 'tutor' ), |
| 131 | 'description' => 'Unlock Course depending on Restrict Content Pro Plugin Permission.', |
| 132 | ), |
| 133 | 'tutor-weglot' => array( |
| 134 | 'name' => 'Weglot', |
| 135 | 'description' => __( 'Translate & manage multilingual courses for global reach with full edit control.', 'tutor' ), |
| 136 | ), |
| 137 | 'tutor-wpml' => array( |
| 138 | 'name' => __( 'WPML Multilingual CMS', 'tutor' ), |
| 139 | 'description' => __( 'Create multilingual courses, lessons, dashboard and more for a global audience.', 'tutor' ), |
| 140 | ), |
| 141 | ); |
| 142 | |
| 143 | return $addons; |
| 144 | } |
| 145 | } |
| 146 |