WordPress filter hook
tutor_course_sell_by
Defined by Tutor LMS and fired by 5 plugins in total, running on 111K+ sites between them.
How to use tutor_course_sell_by
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'tutor_course_sell_by', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from Tutor LMS's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
5 plugins that fire tutor_course_sell_by
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Tutor LMS90,000+ installs
apply_filters( 'tutor_course_sell_by', null )includes/tutor-template-functions.php:659 -
Tutor LMS Elementor Addons20,000+ installs
apply_filters( 'tutor_course_sell_by', null )templates/course/enrollment-editor.php:16 -
Tutor LMS Divi Modules1,000+ installs
apply_filters( 'tutor_course_sell_by', null )includes/templates/course/enrolment-editor.php:21 -
Educat Elementor LMS Addon20+ installs
apply_filters( 'tutor_course_sell_by', null )includes/widgets/course-single/course-add-button/view.php:20 -
Powdi Course Page Builder for Tutor LMS and DiviFewer than 10 installs
apply_filters( 'tutor_course_sell_by', null )divi5-tutor-modules/server/DTUTCourseButtons.php:191
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.