Action: sensei_single_course_modules_inside_before

do_action( 'sensei_single_course_modules_inside_before', $module_id )

Hook runs inside single-course/course-modules.php

It runs inside the if statement after the article tag opens just before the modules are shown. This hook will NOT fire if there are no modules to show.

Parameters:
Name Type Description
$module_id int

Module ID.

Since:
  • 1.9.7 Added the module ID to the parameters.
Source: