Filter: sensei_show_enrolment_debug_button

apply_filters( 'sensei_show_enrolment_debug_button', $show_button, $user_id, $course_id ) → {bool}

Show the enrolment debug button on learner management.

Parameters:
Name Type Description
$show_button bool

Whether to show the button.

$user_id int

User ID.

$course_id int

Course ID.

Since:
  • 3.7.0
Source:
Returns:

Filtered value.

Type
bool