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