Turgor Exam Engine 1.1.0 has 15 actions and 69 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Turgor Exam Engine fires an action
add_action( 'turgee_lms_play_billing_settings_ui', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Turgor Exam Engine is about to use
add_filter( 'turgee_lms_protect_content', function( $value, $userId ) {
// Change $value here.
return $value;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Renders the Google Play Billing settings + SKU-link forms. */ do_action( 'turgee_lms_play_billing_settings_ui' ); -
/** * Whether this visitor's lesson body should discourage copying. Nothing in * this plugin answers it; Turgor Exam Engine Pro does when its content * protection setting is on. */ apply_filters( 'turgee_lms_protect_content', false, $userId ); -
/** * Fires when a new-implementation handler throws. */ do_action( 'turgee_api_handler_failed', $route['name'], $e, get_current_user_id() ); -
/** * Filters whether an lb/v1 route is served from the new tables. */ apply_filters( 'turgee_api_use_new_tables', false, $routeName ); -
/** * Fires after a submission is marked. */ do_action( 'turgee_assignment_graded', $submissionId, (int) $submission->user_id, $stepId, $score, $max ); -
/** * Fires after a student saves an assignment answer. */ do_action( 'turgee_assignment_submitted', $userId, $stepId, $id ); -
/** * Filters whether this request is an autosave. */ apply_filters( 'turgee_builder_is_autosave', defined('DOING_AUTOSAVE') && DOING_AUTOSAVE ); -
/** * Filters whether a user may change or delete a question. */ apply_filters( 'turgee_can_edit_question', $mayEditAll, $questionId, $userId ); -
/** * Fires when a completion recorded in turgee_progress could not be mirrored * into LearnDash. */ do_action( 'turgee_completion_mirror_failed', $userId, $lessonId, $courseId, $reason ); -
/** * Whether the course archive shows the course grid. */ apply_filters( 'turgee_course_archive_grid', true ); -
/** * Fires the first time a student's course reaches 100% complete. */ do_action( 'turgee_course_completed', $userId, $courseId ); -
/** * Filters when a step opens for a student. */ apply_filters( 'turgee_drip_release_at', $release, $userId, $stepId, $courseId ); -
/** * Extra rows for this video's table, drawn by an add-on (Turgor Exam Engine * Pro's captions). Field names must start with $name so the "Add another * video" script renumbers them. */ do_action( 'turgee_lesson_video_box_rows', $postId, $position, $name, $id ); -
/** * Fires as a video's player is drawn, for an add-on that needs its own script * on a page with a video (Turgor Exam Engine Pro's caption and resume * features). Nothing of the video is passed that the lesson page does not * already show the reader. */ do_action( 'turgee_lesson_video_rendered', $stepId, $video ); -
/** * Filters the URL a student is given for a lesson video. */ apply_filters( 'turgee_lesson_video_url', null, $source, $stepId, $position ); -
/** * After the videos are saved, with the submitted rows as typed (unslashed, NOT * sanitised - the add-on must). Nonce and capability are already checked. */ do_action( 'turgee_lesson_videos_saved', $postId, $rows ); -
/** * Filters the brand colour. */ apply_filters( 'turgee_lms_brand_color', $stored, $context ?? self::context() ); -
/** * Filters the variables printed with the brand colour. */ apply_filters( 'turgee_lms_brand_css_vars', $vars, $context ); -
/** * Filters the font family list for the plugin's student screens. */ apply_filters( 'turgee_lms_brand_font', $stored, $context ?? self::context() ); -
/** * Filters the term slugs printed on a catalog card. */ apply_filters( 'turgee_lms_catalog_card_terms', $slugs, $post ); -
/** * Whether this course is a content-free "storefront wrapper" a Product built * entirely from more than one course auto-creates for itself, purely so the * app has something to show a purchase card for - see Turgor Exam Engine Pro's * ProductBuilder::ensureBundleStorefrontCourse() for why one exists at all, * and CourseProductLookup:: isStorefrontWrapper() for what answers this. False * on a Free-only insta... */ apply_filters( 'turgee_lms_course_is_storefront_wrapper', false, $courseId ); -
/** * Filters the Buy/Free-enroll CTA for a course that is neither open nor * course-level Free - Turgor Exam Engine Pro's free-Product and paid-course * cases (see the class docblock). */ apply_filters( 'turgee_lms_course_purchase_cta', '', $courseId, $userId ); -
/** * Filters the ratings block appended below the syllabus. */ apply_filters( 'turgee_lms_course_rating_html', '', $courseId, $userId ); -
/** * Filters in this course's Google Play product id, so the app can offer it for * purchase without needing its own app-side release for every new paid course * - see Turgor Exam Engine Pro's CourseProductLookup::playProductIdFor() for * the Products-table lookup that answers this, and that plugin's own bootstrap * for the filter registration. Null on a Free-only install (nothing answers), * same as every ot... */ apply_filters( 'turgee_lms_google_product_id_for_course', null, $courseId ); -
/** * Filters the name shown for one row of the leaderboard. */ apply_filters( 'turgee_lms_leaderboard_name', $shown, $entry ); -
/** * Lets code outside this plugin add its own caveat rows - Turgor Exam Engine * Pro uses this to warn about commerce (WooCommerce/Play purchases silently * granting nothing without an active license, or a WooCommerce * product/LearnDash group never imported into lb_products) without this class * ever needing to know Pro exists. Same shape as every other caveat: * label/count/detail. */ apply_filters( 'turgee_lms_preflight_extra_caveats', $caveats ); -
/** * Filters the reasons offered when reporting a quiz question. */ apply_filters( 'turgee_lms_quiz_report_reasons', [] ); -
/** * Whether a student sees a ranking of their classmates at all. */ apply_filters( 'turgee_lms_show_leaderboard', true ); -
/** * Filters what is appended below the step chrome. */ apply_filters( 'turgee_lms_step_report_html', '', $stepId, $courseId, $userId ); -
/** * Filters the group-derived storefront "pseudo-course" cards appended after * the real courses in this response. */ apply_filters( 'turgee_lms_storefront_groups_for_user', [], $userId ); -
/** * Filters the syllabus layout. */ apply_filters( 'turgee_lms_syllabus_layout', 'tiles' ); -
/** * Fires when a student notification email could not be sent. */ do_action( 'turgee_notification_failed', $message ); -
/** * Filters how many posts per type the rehearsal compares. */ apply_filters( 'turgee_post_type_rehearsal_cap', self::REHEARSAL_CAP, $type ); -
/** * Filters which step types count toward course completion. */ apply_filters( 'turgee_progress_step_types', ['lesson', 'topic'] ); -
/** * Fires once, right after an attempt is graded. */ do_action( 'turgee_quiz_graded', (int) $attempt->user_id, (int) $attempt->quiz_id, (int) $attempt->id, self::passed($attempt), (float) $graded['score'], (float) $graded['max_score'] ); -
/** * Filters whether this plugin appends the course page furniture. */ apply_filters( 'turgee_render_course_page', true ); -
/** * Filters whether a student may see the review of an attempt. */ apply_filters( 'turgee_review_allowed', $allowed, $attemptId, $quizId, $policy ); -
/** * Filters the student home page address. */ apply_filters( 'turgee_student_home_url', $own ); -
/** * Filters whether a user may open a course. */ apply_filters( 'turgee_user_has_course_access', $hasAccess, $userId, $courseId ); -
apply_filters( 'the_title', $row->post_title, (int) $row->item_id ); -
apply_filters( 'turgee_lms_play_billing_action_play-settings', null, (isset($_POST['turgee_play_package_name']) ? sanitize_text_field(wp_unslash($_POST['turgee_play_package_name'])) : ''), (isset($_POST['turgee_play_key_file']) ? sanitize_textarea_field(wp_unslash($_POST['turgee_play_key_file'])) : '') ); -
apply_filters( 'turgee_auth_can_login', true, $user ); -
apply_filters( 'turgee_auth_client_ip', $ip ); -
apply_filters( 'turgee_auth_popup_enabled', SignIn::configuredUrl() === '' && ! SignIn::externalLoginDetected() ); -
apply_filters( 'turgee_auth_precheck', null, $view, $data ); -
apply_filters( 'turgee_auth_rate_limit', $defaults, $action ); -
apply_filters( 'turgee_auth_redirect', $url, $user, $context ); -
apply_filters( 'turgee_auth_signup_errors', $errors, $data ); -
do_action( 'turgee_auth_user_registered', $userId, 'signup' ); -
apply_filters( 'turgee_completion_required_child_types', $default ); -
apply_filters( 'turgee_free_courses_auto_enroll', $enabled ); -
apply_filters( 'turgee_groups_hierarchical', $hierarchical ); -
apply_filters( 'turgee_lesson_video_student', $video, $stepId ); -
apply_filters( 'turgee_lesson_video_tracks', [], $stepId, $video ); -
apply_filters( 'turgee_lesson_videos_app', get_option(self::APP_OPTION, 'yes') !== 'no' ); -
apply_filters( 'turgee_lesson_videos_website', get_option(self::WEBSITE_OPTION, 'yes') !== 'no' ); -
apply_filters( 'turgee_lms_content_protection_action', null, $enabled ); -
do_action( 'turgee_lms_content_protection_settings_ui' ); -
apply_filters( 'turgee_lms_course_catalog_html', '', $userId ); -
apply_filters( 'turgee_lms_docs_url', 'https://turgorlabs.com/documentation/complete-guide/' ); -
apply_filters( 'turgee_lms_instructor_caps', $caps ); -
apply_filters( 'turgee_lms_migrate_entitlements_for_course', ['written' => 0, 'skipped' => 0], $courseId ); -
apply_filters( 'turgee_lms_play_billing_action_play-link', null, isset($_POST['turgee_play_group']) ? absint($_POST['turgee_play_group']) : 0, $text('turgee_play_sku') ); -
apply_filters( 'turgee_lms_pro_active', defined('TURGEE_PRO_VERSION') ); -
apply_filters( 'turgee_lms_pro_capability', false, $feature ); -
apply_filters( 'turgee_lms_sign_in_class', '' ); -
apply_filters( 'turgee_lms_sign_in_url', wp_login_url($returnTo), $returnTo ); -
apply_filters( 'turgee_lms_signup_role', 'subscriber' ); -
apply_filters( 'turgee_lms_tools_render_bundle-sources', self::proToolMissing() ); -
apply_filters( 'turgee_lms_tools_render_product-coverage', self::proToolMissing() ); -
apply_filters( 'turgee_lms_tools_render_products', self::proToolMissing() ); -
apply_filters( 'turgee_lms_tools_render_storefront-sources', self::proToolMissing() ); -
apply_filters( 'turgee_lms_upgrade_url', 'https://turgorlabs.com/plugins/turgor-lms/' ); -
apply_filters( 'turgee_pool_candidates', $ids, $quizId, $sectionId, $categoryId ); -
apply_filters( 'turgee_question_analysis_columns', $columns ); -
apply_filters( 'turgee_question_analysis_row', $row, $quizId ); -
apply_filters( 'turgee_quiz_window', $window, $userId, $quizId ); -
apply_filters( 'turgee_results_export_columns', $columns ); -
apply_filters( 'turgee_results_export_row', $data, $row ); -
apply_filters( 'turgee_results_see_all', user_can($userId, 'edit_others_posts'), $userId ); -
do_action( 'validate_password_reset', $errors, $user ); -
do_action( 'wp_login', $user->user_login, $user );
Generated from Turgor Exam Engine's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: