Today we’re pleased to announce that Sensei 2.0 is available for beta testing!
There are some important changes in this release:
- We’ve split Sensei into two plugins – Sensei (free) and WooCommerce Paid Courses (paid). After upgrading Sensei, those with a valid license will have Sensei renamed to Sensei with WooCommerce Paid Courses, which is a bundle of Sensei and WooCommerce Paid Courses. You can read more about this change here.
- The new minimum required version of PHP is 5.6.
- The new minimum required version of WooCommerce is 3.0.
- The Access Permissions setting now only controls lesson content, not lesson and course content.
Everything else . . .
- We fixed a conflict between the Jetpack shortcodes module and Sensei that caused Sensei videos not to display.
- We fixed the lesson order changing when a lesson was updated in the classic editor.
- We fixed completed modules being displayed as “In Progress”.
- We’ve changed the text domain from
woothemes-senseitosensei. - When Sensei is first activated, a pop-up appears asking you to join our mailing list. This pop-up will only appear on sites that have never had Sensei installed before.
- We added a new Sensei extensions page available from the Sensei > Extensions menu.
There are also a variety of minor tweaks, new hooks, and fixes. We won’t go into detail here, but you can see the full list of changes if you’re interested!
Template File Changes
- All templates – Changed text domain from
woothemes-senseitosensei content-course.php– CallSensei_Course::get_course_loop_content_classinstead ofWooThemes_Sensei_Course::get_course_loop_content_classsingle-quiz/question-type-*.php– CallSensei_Question::get_template_datainstead ofWooThemes_Sensei_Question::get_template_data
Deprecated Functions and Methods
Sensei_Main
Sensei_Main::sensei_woocommerce_email_course_detailshas been deprecated in favour ofSensei_WC::email_course_detailsSensei_Main::sensei_woocommerce_reactivate_subscriptionhas been deprecated in favour ofSensei_WC::reactivate_subscriptionSensei_Main::sensei_woocommerce_subscription_endedhas been deprecated in favour ofSensei_WC::end_subscriptionSensei_Main::sensei_woocommerce_complete_orderhas been deprecated in favour ofSensei_WC::complete_orderSensei_Main::sensei_woocommerce_cancel_orderhas been deprecated in favour ofSensei_WC::cancel_orderSensei_Main::sensei_activate_subscriptionhas been deprecated in favour ofSensei_WC::activate_subscriptionSensei_Main::woocommerce_course_updatehas been deprecated in favour ofSensei_WC::course_updateSensei_Main::sensei_get_woocommerce_product_objecthas been deprecated in favour ofSensei_WC::get_product_objectSensei_Main::disable_guest_checkouthas been deprecated in favour ofSensei_WC::disable_guest_checkoutSensei_Main::virtual_order_payment_completehas been deprecated in favour ofSensei_WC::virtual_order_payment_completeSensei_Main::check_user_permissionshas been deprecated with no replacement
Sensei_Utils
Sensei_Utils::sensei_is_woocommerce_presenthas been deprecated in favour ofSensei_WC::is_woocommerce_present-
Sensei_Utils::sensei_is_woocommerce_activatedhas been deprecated in favour ofSensei_WC::is_woocommerce_active Sensei_Utils::sensei_customer_bought_producthas been deprecated in favour ofSensei_WC::has_customer_bought_product
Sensei_Frontend
Sensei_Frontend::activate_purchased_courseshas been deprecated in favour of\Sensei_WC_Paid_Courses\Courses::activate_purchased_coursesSensei_Frontend::activate_purchased_single_coursehas been deprecated in favour of\Sensei_WC_Paid_Courses\Courses::activate_purchased_single_courseSensei_Frontend::sensei_woocommerce_in_cart_messagehas been deprecated in favour ofSensei_WC::course_in_cart_message
Sensei_Course
Sensei_Course::get_product_courseshas been deprecated in favour ofSensei_WC_Paid_Courses\Courses::get_product_coursesSensei_Course::get_product_courses_query_argshas been deprecated in favour ofSensei_WC_Paid_Courses\Courses::get_product_courses_query_args
Sensei_WC_Utils
Sensei_WC_Utils::wc_version_less_thanhas been deprecated in favour ofversion_compare( WC()->version, $str, '<' )Sensei_WC_Utils::is_product_variationhas been deprecated in favour of$product->is_type( 'variation' )Sensei_WC_Utils::get_order_idhas been deprecated in favour of$order->get_id()Sensei_WC_Utils::get_producthas been deprecated in favour ofwc_get_productSensei_WC_Utils::get_parent_producthas been deprecated in favour ofwc_get_productSensei_WC_Utils::get_formatted_variationhas been deprecated in favour ofwc_get_formatted_variationSensei_WC_Utils::get_product_variation_datahas been deprecated in favour of\Sensei_WC_Utils::get_variation_dataSensei_WC_Utils::get_product_from_itemhas been deprecated in favour of$item->get_product()Sensei_WC_Utils::get_checkout_urlhas been deprecated in favour ofwc_get_checkout_url
Other
sensei_wc_add_to_carthas been deprecated in favour ofSensei_WC::the_add_to_cart_button_htmlsensei_check_if_product_is_in_carthas been deprecated in favour ofSensei_WC::is_product_in_cartsensei_simple_course_pricehas been deprecated in favour ofSensei_WC_Paid_Courses\Frontend\Courses::output_course_priceis_woocommerce_activehas been deprecated with no replacementsensei_check_woocommerce_versionhas been deprecated with no replacement
Deprecated Shortcodes
Additionally, the following legacy shortcodes will now log deprecation warnings. A notice will also be displayed on the front-end that is only visible to users with the edit_posts capability (i.e. it won’t be visible to students or guests):
newcoursesfeaturedcoursesfreecoursespaidcoursesusercoursesallcourses
Deprecated Hooks
sensei_show_delete_course_button(the Delete Course button that may appear on the My Courses page will be removed in Sensei 4.0)sensei_merge_courses_with_parent_producthas been deprecated in favour ofsensei_wc_paid_courses_merge_courses_with_parent_productsensei_wc_subscriptions_get_subscription_typeshas been deprecated in favour ofsensei_wc_paid_courses_subscriptions_get_subscription_typessensei_wc_memberships_auto_start_coursehas been deprecated in favour ofsensei_wc_paid_courses_memberships_auto_start_coursesensei_wc_memberships_auto_start_courseshas been deprecated in favour ofsensei_wc_paid_courses_memberships_auto_start_coursessensei_wc_single_add_to_cart_button_texthas been deprecated in favour ofsensei_wc_paid_courses_add_to_cart_button_textsensei_wc_order_statuseshas been deprecated in favour ofsensei_wc_paid_courses_order_statuses
Release Testing
We’d like to keep Sensei 2.0 in beta for the next 3 weeks.
If you’d like to help us test Sensei with WooCommerce Paid Courses, please fill out this form. The beta will be sent to those users who have an active Sensei license, so please be sure to enter the email address you used to purchase Sensei. UPDATE: Beta tester signups are now closed. Thank you to all those who signed up!
If you do not have an active Sensei license but are still interested in testing, you can download the free beta version of Sensei here.
To test translations, you will need to rename the .po and .mo files inside the /wp-content/languages/plugins folder from woothemes-sensei-{$locale}.{$ext} to sensei-{$locale}.{$ext}. This step is required because we still need to migrate Sensei translations from Transifex to GlotPress and have them use the new text domain. Unfortunately, we are unable to complete this step until after Sensei is listed on WordPress.org.
Also, we have not yet updated our extensions to work with Sensei 2.0. We will be working on that next while the beta is in testing. UPDATE: We now have betas for Certificates, Course Progress and Content Drip.
During testing, if you come across a bug, please submit an issue on Github or leave a comment here.
As this is a beta release, please test it on a staging site and not your live site. If you don’t have a staging site, you can use the WP Staging plugin to create one.
Thanks to all of our testers and contributors!


