Overview

Starting point of the plugin, defined version number, file constant, language loaded text domain.

Tutor() function

Containing path, URL of the plugin, basename, version, nonce_action, nonce, course post type, lesson post type, instructor role, template path, has_pro.

Course Additional Data

/tutor/views/metabox/course-additional-data.php

do_action('tutor_course_metabox_before_additional_data');
do_action('tutor_course_metabox_after_additional_data');

Course Contents

/tutor/views/metabox/course-contents.php

do_action('tutor_course_builder_before_quiz_btn_action', $quiz->ID);
do_action('tutor_course_builder_before_btn_group', $topic->ID);
do_action('tutor_course_builder_after_btn_group', $topic->ID);
do_action('tutor_course_builder_before_quiz_btn_action', $quiz->ID);

Settings Tabs

/tutor/views/metabox/course/settings-tabs.php

do_action("tutor_course/settings_tab_content/before", $key, $tab);
do_action("tutor_course/settings_tab_content/before/{$key}", $tab);
do_action("tutor_course/settings_tab_content/after", $key, $tab);
do_action("tutor_course/settings_tab_content/after/{$key}", $tab);

Lesson Editing Modal

/tutor/views/modal/edit-lesson.php

do_action('tutor_lesson_edit_modal_form_before', $post);
do_action('tutor_lesson_edit_modal_form_after', $post);

Quiz Editing Modal

edit_quiz.php

do_action('tutor_quiz_edit_modal_info_tab_after', $quiz);
do_action('tutor_quiz_edit_modal_settings_tab_after', $quiz);

Options Generator

options_generator.php

do_action('tutor_options_before_'.$key);
do_action("tutor_options_{$key}_{$fgKey}_before");
do_action("tutor_options_{$key}_{$fgKey}_after");
do_action('tutor_options_after_'.$key);

Instructor Signup Form

/tutor/views/pages/add_new_instructor.php

do_action('tutor_add_new_instructor_form_fields_before');
do_action('tutor_add_new_instructor_form_fields_after');

Tutor LMS Tools

tools.php

do_action("tutor_tools_page_{$current_page}_before");
do_action("tutor_tools_page_{$current_page}");
do_action("tutor_tools_page_{$current_page}_after");

Was this helpful?