WordPress action hook

tutor_course/archive/after_loop_course

Defined by Tutor LMS and fired by 3 plugins in total, running on 90K+ sites between them.

“Usage Idea, If you start any div before course loop, you can end it here, such as </div>”

How to use tutor_course/archive/after_loop_course

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'tutor_course/archive/after_loop_course', function() {
	// Your code runs here.
}, 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.

3 plugins that fire tutor_course/archive/after_loop_course

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Tutor LMS icon Tutor LMS90,000+ installs do_action( 'tutor_course/archive/after_loop_course' ) templates/archive-course-init.php:70
  2. Oxygen Tutor LMS icon Oxygen Tutor LMS200+ installs do_action( 'tutor_course/archive/after_loop_course' ) templates/shortcode/tutor-course.php:54
  3. Lenxel AI LMS icon Lenxel AI LMSFewer than 10 installs do_action( 'tutor_course/archive/after_loop_course' ) elementor/templates/course/carousel.php:30

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.