MentorKit LMS: SCORM Courses, Quizzes, Group Management & Certificates 1.49.0 has 131 actions and 159 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 MentorKit LMS: SCORM Courses, Quizzes, Group Management & Certificates fires an action
add_action( 'mklms_pending_invitation_closed', function( $batch_id, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value MentorKit LMS: SCORM Courses, Quizzes, Group Management & Certificates is about to use
add_filter( 'mklms_admin_brand_label', function( $_, $arg2 ) {
// Change $_ here.
return $_;
}, 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
-
/** * Filter a display label in the shared admin interface. */ apply_filters( 'mklms_admin_brand_label', __( 'MentorKit LMS', 'mentorkit-lms-pro-freemium' ), 'menu' ); -
/** * Fires after an invitation batch reaches a terminal, unconsumed state. */ do_action( 'mklms_pending_invitation_closed', $batch_id, self::STATUS_CANCELLED ); -
/** * Fires after an invited account has been created and activated. */ do_action( 'mklms_register_user_created', $user_id, $post_data ); -
/** * Filters one rendered line of a certificate course list. */ apply_filters( 'mklms_certificate_course_list_line', $title, $course, $scope ); -
/** * Filter the default tax class for new SCORM courses. */ apply_filters( 'mklms_course_default_tax_class', '' ); -
/** * This filter is documented in templates/single-scorm_group.php */ apply_filters( 'mklms_group_module_pill_text', $pill, $state, $course, $group_id ); -
/** * This filter is documented in includes/core/class-pending-invitations.php */ apply_filters( 'mklms_invitation_participant_roles', array( 'subscriber' ) ); -
/** * Filters whether debug-level log entries are recorded. */ apply_filters( 'mklms_log_debug_enabled', $enabled ); -
/** * Filters registration validation errors before account creation. */ apply_filters( 'mklms_register_validate', $errors, $post_data ); -
/** * Fires after the SCORM player wrapper is rendered in the live course view. */ do_action( 'mklms_after_course_player', $mklms_course_id, $post, $mklms_progress, $mklms_course_access ); -
/** * Fires immediately after the login form is rendered. */ do_action( 'mklms_after_login_form' ); -
/** * Fires immediately after the registration form is rendered. */ do_action( 'mklms_after_register_form' ); -
/** * Allow explicit override of the inherited-dependents deletion guard. */ apply_filters( 'mklms_allow_source_course_deletion_with_inherited_translations', false, $post, $dependents ); -
/** * Filters whether the MentorKit login/logout redirects apply to a non-staff * user. */ apply_filters( 'mklms_auth_redirect_applies_to_user', self::user_has_lms_footprint( $user_id ), $user ); -
/** * Allow sites to suppress automatic translation-shell creation. */ apply_filters( 'mklms_auto_create_translation_shells', true, $source_id, $language ); -
/** * Fires immediately before the login form is rendered. */ do_action( 'mklms_before_login_form' ); -
/** * Fires immediately before the registration form is rendered. */ do_action( 'mklms_before_register_form' ); -
/** * Filters how many months of billing facts the ledger keeps for deleted * accounts. The current month is always kept on top of this. */ apply_filters( 'mklms_billing_ledger_retention_months', 36 ); -
/** * Filter whether a user bypasses the completion lock for a course. */ apply_filters( 'mklms_bypass_completion_lock', $can_bypass, $user_id, $course_id ); -
/** * Filters the certificate template variables offered in the canvas editor. */ apply_filters( 'mklms_certificate_template_variables', $variables ); -
/** * Filters the certificate placeholder => value map used at render time. */ apply_filters( 'mklms_certificate_variable_map', $map, $cert, $template, $user, $context_post, $is_sample ); -
/** * Filter the resolved access-days value. */ apply_filters( 'mklms_course_access_days', $days, $course_id, $user_id ); -
/** * Filter the resolved hero CTA before the course landing renders it. */ apply_filters( 'mklms_course_hero_cta', $mklms_cta, $mklms_course_id, $mklms_access_state ); -
/** * Filter whether a lesson counts as satisfied for path progression. */ apply_filters( 'mklms_course_is_satisfied', $satisfied, $user_id, $course_id, $status, $rule ); -
/** * Fires after a course has been manually marked as completed for a user. */ do_action( 'mklms_course_manually_completed', $target_id, $course_id, $admin_id, $reason, $audit_id ); -
/** * Filter the course-view URL segment. */ apply_filters( 'mklms_course_view_segment', $segment ); -
/** * Filters the hosts the Course Creator route accepts packages from. */ apply_filters( 'mklms_creator_package_hosts', $hosts ); -
/** * Filter whether a course or group being created starts closed. */ apply_filters( 'mklms_default_access_for_new_post', $mode, $post_type, $post ); -
/** * Fires when a quiz event changes the effective status of a course completed * by its required quiz (#657). The quiz counterpart of * `mklms_course_status_transition`, which a tracking write fires. */ do_action( 'mklms_effective_course_status_transition', $user_id, $course_id, $previous, $status, $attempt['score'], $attempt['timestamp'], $attempt_id ); -
/** * Fires when a quiz event leaves a course's effective status worth acting on * (#657). The first four arguments of `mklms_status_updated`; there is no * previous status, because it fires only as described above, so the * certificate listener may renew an expired certificate (#665). */ do_action( 'mklms_effective_course_status_updated', $user_id, $course_id, $status, 0 ); -
/** * Filters the passwordless direct-login URL for the {direct_login_url} merge * tag. */ apply_filters( 'mklms_email_direct_login_url', '', $direct_login_user_id, $context ); -
/** * Filters whether MentorKit sends its own welcome/invitation mail for a new * account and suppresses the WordPress core new-user mail. */ apply_filters( 'mklms_email_manager_handles_new_user', '' !== $source, $user_id, $source ); -
/** * Filter the placeholder tags documented on the emails page. */ apply_filters( 'mklms_email_placeholder_docs', $placeholders ); -
/** * Fires after the built-in placeholder usage notes. */ do_action( 'mklms_email_placeholder_docs_after' ); -
/** * Let a consumer override where the player's exit / close (X) / "Avslutt" * controls send the learner. Covers both the chrome exit button and the * SCORM-package-internal exit, since all exit paths read the same * $mklms_exit_return_url (myCoursesUrl). A client can e.g. return to a custom * page based on a launch-origin query arg. */ apply_filters( 'mklms_exit_return_url', $mklms_exit_return_url, $mklms_course_id, $mklms_exit_return_id ); -
/** * Filters whether a free course stays with a learner after group removal. */ apply_filters( 'mklms_free_course_survives_group_removal', true, absint( $user_id ), absint( $course_id ), absint( $group_id ) ); -
/** * Filter the allowed HTML for MentorKit frontend markup. */ apply_filters( 'mklms_frontend_allowed_html', $allowed, $context ); -
/** * Filters the global settings field registry. */ apply_filters( 'mklms_global_settings_fields', $fields ); -
/** * Filters the option lists served to the global settings pane. */ apply_filters( 'mklms_global_settings_option_lists', $option_lists ); -
/** * Filters the UI meta served to the global settings pane. */ apply_filters( 'mklms_global_settings_rest_meta', $meta ); -
/** * Filters dependencies loaded before the global settings application. */ apply_filters( 'mklms_global_settings_script_dependencies', $deps ); -
/** * Filters cross-field validation errors for a global settings save. */ apply_filters( 'mklms_global_settings_validate', $errors, $pending, $fields ); -
/** * Filter the allow-decision for a (email, group) pair. */ apply_filters( 'mklms_group_email_allowed', $decision, $email, (int) $group_id, $allowed_domains ); -
/** * Filter the resolved hero CTA before the group landing renders it. */ apply_filters( 'mklms_group_hero_cta', mklms_group_get_cta( $mklms_group_id ), $mklms_group_id ); -
/** * Filters the group settings field registry. */ apply_filters( 'mklms_group_settings_fields', $fields, $group_id ); -
/** * Filters the group settings pane context payload. */ apply_filters( 'mklms_group_settings_rest_context', $context, $group_id ); -
/** * Filters the option lists sent to the group settings pane. */ apply_filters( 'mklms_group_settings_rest_option_lists', $lists, (int) $group_id ); -
/** * Filters the cross-field validation errors for a group settings batch. */ apply_filters( 'mklms_group_settings_validate', $errors, $fields, $pending, $group_id ); -
/** * Filters whether the front-end admin bar is hidden for the current user. */ apply_filters( 'mklms_hide_admin_bar_for_learners', $enabled, wp_get_current_user() ); -
/** * Filter the grace period between invitation expiry and account removal. 0 * removes at expiry; a negative value disables the sweep entirely. */ apply_filters( 'mklms_invited_account_grace_period', 7 * DAY_IN_SECONDS ); -
/** * Whether the generic registration mails stay suppressed for an account being * provisioned by an invitation (TSK-20143). The invitation flow sends its own * mail; returning false restores the ordinary user_register mail flow for * integrations that depend on it. */ apply_filters( 'mklms_invited_user_suppress_notifications', true, $user_id ); -
/** * Whether the built-in ?scorm_invoice=1 route may render. */ apply_filters( 'mklms_invoice_route_enabled', true ); -
/** * Filters whether the frontend is treated as a dark Theming profile. */ apply_filters( 'mklms_is_dark_theming_profile', $is_dark ); -
/** * Filter whether master-group leaders cascade into suborganization sub-groups. */ apply_filters( 'mklms_leader_cascade_enabled', true ); -
/** * Filters whether the Theming CSS custom properties load for this request. */ apply_filters( 'mklms_load_theming_styles', (bool) $needed, (string) $context ); -
/** * Filters log channel retention (days) and storage budgets (bytes). */ apply_filters( 'mklms_log_channels', $channels ); -
/** * Filters a redacted log entry before it is written. */ apply_filters( 'mklms_log_entry', $entry ); -
/** * Filters a login submitted without a password. */ apply_filters( 'mklms_login_credentials_override', null, array( 'username' => $username, 'form' => 'login', 'post_data' => $post_data, ) ); -
/** * Filters whether a login or registration form asks for the e-mail address * only. */ apply_filters( 'mklms_login_form_mode', 'password', $form ); -
/** * Filters the message for a failed sign-in with wrong credentials. */ apply_filters( 'mklms_login_invalid_credentials_message', __( 'Invalid username or password.', 'mentorkit-lms-pro-freemium' ) ); -
/** * Filter the learner landing URL after login or password reset. */ apply_filters( 'mklms_login_redirect_url', $url, $user, $landing ); -
/** * Filter the resolved login URL. */ apply_filters( 'mklms_login_url', $url, $query_args ); -
/** * Filters the directory MentorKit LMS writes its log files to. */ apply_filters( 'mklms_logs_dir', mklms_log_default_dir() ); -
/** * Filters the size cap of a Logs page download. */ apply_filters( 'mklms_logs_download_max_bytes', 25 * 1024 * 1024 ); -
/** * Filters whether the forgot-password form reveals an unknown address. */ apply_filters( 'mklms_lost_password_reveal_unknown_account', true ); -
/** * Filters the message shown when the forgot-password form finds no account. */ apply_filters( 'mklms_lost_password_unknown_account_message', $mklms_unknown_account_message ); -
/** * Filters the sender address the sign-up and verification notices name. */ apply_filters( 'mklms_mail_from_address', $from_email ); -
/** * Filters the sender MentorKit mail is sent as. */ apply_filters( 'mklms_mail_sender', $sender ); -
/** * Filters the local avatar URL shown on the learner profile. */ apply_filters( 'mklms_my_profile_avatar_url', '', $user, 168 ); -
/** * Fires inside the learner profile editor after the account fields. */ do_action( 'mklms_my_profile_editor_fields', $resolved_user_id ); -
/** * Filters the request-key prefixes forwarded to the profile extension hooks. */ apply_filters( 'mklms_my_profile_extension_field_prefixes', array( 'mk_pro_cf_' ), $user_id ); -
/** * Filters extension validation errors before the learner profile changes. */ apply_filters( 'mklms_my_profile_update_errors', array(), $user_id, $post_data ); -
/** * Fires after the learner's core profile fields have been updated. */ do_action( 'mklms_my_profile_updated', $user_id, $post_data ); -
/** * Filters whether the handler required by an invitation is available. */ apply_filters( 'mklms_pending_invitation_acceptance_requirement_available', false, $requirement, $batch_id, $rows ); -
/** * Applies recoverable invitation data before grants are committed. */ apply_filters( 'mklms_pending_invitation_before_consume', true, $batch_id, $user_id, $invite_email, $rows ); -
/** * Fires after the storage transaction restores pre-consume data. */ do_action( 'mklms_pending_invitation_consume_rolled_back', $batch_id, $user_id, $invite_email ); -
/** * Fires after an invitation is consumed and its grants are applied. */ do_action( 'mklms_pending_invitation_consumed', $batch_id, $user_id, $invite_email, $was_invited ); -
/** * Fires after a live invitation batch is resent with a renewed expiry. */ do_action( 'mklms_pending_invitation_renewed', $batch_id, $new_expires_at_gmt ); -
/** * Filters whether an expired invitation has all data needed to reopen. */ apply_filters( 'mklms_pending_invitation_reopen_allowed', true, $batch_id, $rows ); -
/** * Fires after an expired invitation batch is successfully reopened. */ do_action( 'mklms_pending_invitation_reopened', $batch_id ); -
/** * Fires after invitation rows are inserted, before final seat validation. */ do_action( 'mklms_pending_invitation_rows_inserted', $batch_id, $targets ); -
/** * Filter whether a plugin basename still has a file on disk. */ apply_filters( 'mklms_plugin_basename_file_exists', $exists, $plugin_basename ); -
/** * Allow sites to force the English/default-language grid fallback on or off, * regardless of the stored `scorm_player_polylang_language_fallback` setting. */ apply_filters( 'mklms_polylang_grid_language_fallback', $enabled, $post_type ); -
/** * Filters whether a pass on a translation shows a course as completed. */ apply_filters( 'mklms_polylang_progress_across_translations', $enabled ); -
/** * Filters whether Polylang translations of a course count as one course. */ apply_filters( 'mklms_polylang_translations_are_one_course', $enabled ); -
/** * Short-circuit host resolution for outbound URL checks. */ apply_filters( 'mklms_pre_resolve_outbound_host_ips', null, $host ); -
/** * Fires inside the registration form after the account identity fields. */ do_action( 'mklms_register_form_fields' ); -
/** * Filters a validated registration submitted without a password. */ apply_filters( 'mklms_registration_override', null, $context ); -
/** * Filters whether a self-registered account waits for an e-mail verification * link. */ apply_filters( 'mklms_registration_requires_email_verification', true, $email, $post_data ); -
/** * Filters whether uploads/scorm-player/.htaccess refuses every Host except the * content host. */ apply_filters( 'mklms_scorm_content_htaccess_host_lock', true ); -
/** * Filters the base URL that serves uploads/scorm-player/ from a separate * origin. */ apply_filters( 'mklms_scorm_content_url', $url ); -
/** * Filters whether Sentry error reporting has administrator consent. */ apply_filters( 'mklms_sentry_consent', $consent ); -
/** * This filter is documented in the pre-TSK-19528 settings page; core no longer * adds tabs. */ apply_filters( 'mklms_settings_tabs', array() ); -
/** * This action is documented in the pre-TSK-19528 settings page. */ do_action( 'mklms_settings_tabs_content', $legacy_tabs ); -
/** * This action is documented in the pre-TSK-19528 settings page. */ do_action( 'mklms_setup_tools_after' ); -
/** * Allow add-ons to extend the setup wizard with alternate first-course flows. */ do_action( 'mklms_setup_wizard_first_course_after', $state, $current_step ); -
/** * Filter the welcome-step benefit list for the setup wizard. */ apply_filters( 'mklms_setup_wizard_welcome_benefits', $benefits, $steps ); -
/** * Filter post content before the base plugin checks for a shortcode. */ apply_filters( 'mklms_shortcode_detection_content', (string) $content ); -
/** * Filter whether the WP admin bar stays visible inside the SCORM player. */ apply_filters( 'mklms_show_admin_bar_in_player', false ); -
/** * Filters whether a successful password reset signs the user in at once. */ apply_filters( 'mklms_sign_in_after_password_reset', false, $user ); -
/** * Filters whether a user may publish through the Course Creator route. */ apply_filters( 'mklms_user_can_publish_creator_package', $allowed, $user_id, $post_id ); -
/** * Filters whether a user may upload or replace SCORM package content. */ apply_filters( 'mklms_user_can_publish_scorm_content', $allowed, $user_id, $post_id ); -
/** * Filters the reasons an account cannot be deleted from the Users page. */ apply_filters( 'mklms_user_delete_blockers', $blockers, $user ); -
/** * Filters the locks held while an account is checked and deleted. */ apply_filters( 'mklms_user_delete_locks', array(), $user ); -
/** * Fires inside the LMS account form after the core account fields. */ do_action( 'mklms_users_profile_additional_fields', $user ); -
/** * Filters the input-name prefixes forwarded to the account extension hooks. */ apply_filters( 'mklms_users_profile_extension_field_prefixes', array( 'mk_pro_cf_' ), $user_id ); -
/** * Filters extension validation errors before the LMS account is updated. */ apply_filters( 'mklms_users_profile_update_errors', array(), $user_id, $post_data ); -
/** * Fires after the LMS account fields have been saved successfully. */ do_action( 'mklms_users_profile_updated', $user_id, $post_data ); -
/** * Fires after an LMS Manager deleted an account from the Users page. */ do_action( 'mklms_users_user_deleted', $user_id, $roles, get_current_user_id() ); -
/** * Filters the outbound webhook payload before it is queued. */ apply_filters( 'mklms_webhook_payload', $payload, $event_type, $data ); -
/** * Filters the user object included in outbound webhook payloads. */ apply_filters( 'mklms_webhook_user_payload', $payload, $user_id, $user ); -
/** * Fires after opening the webinar link recorded the course as passed. */ do_action( 'mklms_webinar_link_opened', absint( $user_id ), absint( $course_id ) ); -
/** * Filter the announcement catalogue. */ apply_filters( 'mklms_whats_new_releases', $releases ); -
do_action( 'mklms_enrollment_created', $user_id, 'course', $post_id, 'admin', array() ); -
apply_filters( 'mklms_group_enrollment_validation', true, $user_id, $post_id, array( 'enrollment_type' => 'admin', 'selected_courses' => $course_ids, 'source' => 'mentorkit-enrollments-tab', ) ); -
apply_filters( 'the_content', (string) $template ); -
do_action( 'mklms_after_course_progress', $mklms_course_id, $post, $mklms_progress_status, $mklms_progress_text ); -
do_action( 'mklms_before_course_progress', $mklms_course_id, $post, $mklms_progress_status, $mklms_progress_text ); -
apply_filters( 'mklms_course_paid_cta', null, $course_id, $wc_id, $wc_product, array( 'base_class' => $base_class, 'price_html' => $price_html, ) ); -
do_action( 'mklms_after_course_actions', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access, $mklms_course_product, $mklms_continue_url ); -
do_action( 'mklms_after_course_content', $mklms_course_id, $post ); -
do_action( 'mklms_after_course_info', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access ); -
do_action( 'mklms_after_course_media', $mklms_course_id, $post ); -
do_action( 'mklms_after_group_card', get_the_ID(), $grid_id, $atts ); -
do_action( 'mklms_after_single_course', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access ); -
do_action( 'mklms_after_single_course_header', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access ); -
do_action( 'mklms_before_course_actions', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access, $mklms_course_product, $mklms_continue_url ); -
do_action( 'mklms_before_course_content', $mklms_course_id, $post ); -
do_action( 'mklms_before_course_info', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access ); -
do_action( 'mklms_before_course_media', $mklms_course_id, $post ); -
do_action( 'mklms_before_group_card', get_the_ID(), $grid_id, $atts ); -
do_action( 'mklms_before_single_course', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access ); -
do_action( 'mklms_before_single_course_header', $mklms_course_id, $post, $mklms_has_access, $mklms_progress_status, $mklms_course_access ); -
apply_filters( 'mklms_certificate_pdf_pixel_ratio', 3 ); -
apply_filters( 'mklms_group_is_module', $is_module, $group_id ); -
apply_filters( 'mklms_group_module_meta', $meta_html, $course, $group_id, $status ); -
apply_filters( 'mklms_offline_payment_methods', self::DEFAULT_OFFLINE_METHODS ); -
do_action( 'astra_body_top' ); -
do_action( 'astra_header_after' ); -
do_action( 'astra_header_before' ); -
apply_filters( 'http_request_host_is_external', false, $host, $url ); -
do_action( 'mklms_admin_handle_replace_submission' ); -
do_action( 'mklms_admin_handle_upload_submission' ); -
do_action( 'mklms_admin_replace_modal' ); -
do_action( 'mklms_admin_upload_form' ); -
do_action( 'mklms_after_course_card', $course_id, $post, $course_access, $has_access, $progress_status, $wc_product ); -
do_action( 'mklms_after_course_card_actions', $course_id, $post, $has_access, $course_access, $wc_product, $progress_status ); -
do_action( 'mklms_after_course_card_content', $course_id, $post, $course_access, $has_access, $progress_status ); -
do_action( 'mklms_after_course_card_media', $course_id, $post, $course_access, $has_access, $progress_status ); -
do_action( 'mklms_after_course_card_meta', $course_id, $post, $show_price, $show_level, $show_duration, $course_access, $wc_product ); -
do_action( 'mklms_after_courses_grid', $grid_id, $atts, $courses_query ); -
do_action( 'mklms_after_courses_grid_item', get_the_ID(), $grid_id, $atts ); -
do_action( 'mklms_after_courses_grid_loop', $grid_id, $atts, $courses_query ); -
do_action( 'mklms_after_courses_grid_pagination', $grid_id, $atts, $courses_query ); -
do_action( 'mklms_after_courses_grid_query', $courses_query, $atts ); -
do_action( 'mklms_after_group_actions', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access, $mklms_course_product, '', null, $mklms_seats_remaining, ! $mklms_cta['disabled'] ); -
do_action( 'mklms_after_group_card_actions', $group_id, $post, $user_enrolled, $group_access, $wc_product, $group_date_status ); -
do_action( 'mklms_after_group_card_content', $group_id, $post, $group_access, $user_enrolled ); -
do_action( 'mklms_after_group_card_media', $group_id, $post, $group_access, $user_enrolled ); -
do_action( 'mklms_after_group_card_meta', $group_id, $post, $show_course_count, $show_seats, $show_access, $group_access, $wc_product ); -
do_action( 'mklms_after_group_content', $mklms_group_id, $post ); -
do_action( 'mklms_after_group_courses', $mklms_group_id, $post, $mklms_courses, $mklms_user_enrolled ); -
do_action( 'mklms_after_group_info', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access ); -
do_action( 'mklms_after_group_media', $mklms_group_id, $post ); -
do_action( 'mklms_after_group_statistics', $mklms_group_id, $post, $mklms_courses, $mklms_enrollment_count, $mklms_seats, $mklms_seats_remaining ); -
do_action( 'mklms_after_groups_grid', $grid_id, $atts, $groups_query ); -
do_action( 'mklms_after_groups_grid_loop', $grid_id, $atts, $groups_query ); -
do_action( 'mklms_after_groups_grid_pagination', $grid_id, $atts, $groups_query ); -
do_action( 'mklms_after_groups_grid_query', $groups_query, $atts ); -
do_action( 'mklms_after_master_subgroups', $mklms_group_id, $mklms_visible_subgroups ); -
do_action( 'mklms_after_my_profile_login_notice', $login_url ); -
do_action( 'mklms_after_single_group', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access ); -
do_action( 'mklms_after_single_group_header', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access ); -
do_action( 'mklms_before_course_card', $course_id, $post, $course_access, $has_access, $progress_status, $wc_product ); -
do_action( 'mklms_before_course_card_actions', $course_id, $post, $has_access, $course_access, $wc_product, $progress_status ); -
do_action( 'mklms_before_course_card_content', $course_id, $post, $course_access, $has_access, $progress_status ); -
do_action( 'mklms_before_course_card_media', $course_id, $post, $course_access, $has_access, $progress_status ); -
do_action( 'mklms_before_course_card_meta', $course_id, $post, $show_price, $show_level, $show_duration, $course_access, $wc_product ); -
do_action( 'mklms_before_courses_grid', $grid_id, $atts, $courses_query ); -
do_action( 'mklms_before_courses_grid_item', get_the_ID(), $grid_id, $atts ); -
do_action( 'mklms_before_courses_grid_loop', $grid_id, $atts, $courses_query ); -
do_action( 'mklms_before_courses_grid_pagination', $grid_id, $atts, $courses_query ); -
do_action( 'mklms_before_group_actions', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access, $mklms_course_product, '', null, $mklms_seats_remaining, ! $mklms_cta['disabled'] ); -
do_action( 'mklms_before_group_card_actions', $group_id, $post, $user_enrolled, $group_access, $wc_product, $group_date_status ); -
do_action( 'mklms_before_group_card_content', $group_id, $post, $group_access, $user_enrolled ); -
do_action( 'mklms_before_group_card_media', $group_id, $post, $group_access, $user_enrolled ); -
do_action( 'mklms_before_group_card_meta', $group_id, $post, $show_course_count, $show_seats, $show_access, $group_access, $wc_product ); -
do_action( 'mklms_before_group_content', $mklms_group_id, $post ); -
do_action( 'mklms_before_group_courses', $mklms_group_id, $post, $mklms_courses, $mklms_user_enrolled ); -
do_action( 'mklms_before_group_info', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access ); -
do_action( 'mklms_before_group_media', $mklms_group_id, $post ); -
do_action( 'mklms_before_group_statistics', $mklms_group_id, $post, $mklms_courses, $mklms_enrollment_count, $mklms_seats, $mklms_seats_remaining ); -
do_action( 'mklms_before_groups_grid', $grid_id, $atts, $groups_query ); -
do_action( 'mklms_before_groups_grid_loop', $grid_id, $atts, $groups_query ); -
do_action( 'mklms_before_groups_grid_pagination', $grid_id, $atts, $groups_query ); -
do_action( 'mklms_before_master_subgroups', $mklms_group_id, $mklms_visible_subgroups ); -
do_action( 'mklms_before_my_profile_login_notice', $login_url ); -
do_action( 'mklms_before_single_group', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access, $mklms_course_product, $mklms_seats, null, $mklms_seats_remaining ); -
do_action( 'mklms_before_single_group_header', $mklms_group_id, $post, $mklms_user_enrolled, null, $mklms_group_access ); -
do_action( 'mklms_certificate_awarded', $user_id, $course_id, $certificate_id, $certificate_data ); -
do_action( 'mklms_certificate_deleted', $user_id, $course_id, $certificate_id ); -
do_action( 'mklms_certificate_revoked', $user_id, $course_id, $certificate_id ); -
apply_filters( 'mklms_course_card_classes', array( 'scorm-course-card', 'course-access-' . $course_access ), $course_id, $post, $course_access, $has_access, $progress_status ); -
apply_filters( 'mklms_course_has_package_files', $has_files, $post_id, $launch_path ); -
do_action( 'mklms_course_retake_started', $user_id, $course_id ); -
do_action( 'mklms_course_status_transition', $user_id, $scorm_id, $current_status, $new_status, $score, $transition_timestamp ); -
apply_filters( 'mklms_courses_grid_query_args', $query_args, $atts ); -
apply_filters( 'mklms_creator_integrations_url', $url, $env ); -
apply_filters( 'mklms_creator_publish_error_callbacks_enabled', true ); -
apply_filters( 'mklms_customer_groups_available', false ); -
apply_filters( 'mklms_customer_groups_enabled', 'yes' === $setting ); -
apply_filters( 'mklms_disable_default_styles', $disable_defaults ); -
apply_filters( 'mklms_email_verification_resend_cooldown', self::RESEND_COOLDOWN, $user_id ); -
apply_filters( 'mklms_email_verification_ttl', self::TOKEN_TTL ); -
apply_filters( 'mklms_email_verification_url', $url, absint( $user_id ) ); -
do_action( 'mklms_email_verified', $user_id, sanitize_key( $source ) ); -
do_action( 'mklms_freemius_loaded' ); -
apply_filters( 'mklms_group_card_classes', array( 'scorm-course-card', 'group-card', 'group-access-' . $group_access ), $group_id, $post, $group_access, $user_enrolled ); -
do_action( 'mklms_group_certificate_awarded', $user_id, $group_id, $certificate_id, $certificate_data ); -
do_action( 'mklms_group_certificate_revoked', $user_id, $group_id, $certificate_id ); -
do_action( 'mklms_group_completed', $user_id, $group_id, array( 'total_courses' => $total_courses, 'completed_courses' => $completed_courses, 'in_progress_courses' => $in_progress_courses, 'progress_percentage' => $progress_percentage, 'status' => $group_status, 'completed_at' => $completed_at, ), $completed_timestamp ); -
apply_filters( 'mklms_group_completion_label', '', $group_id ); -
apply_filters( 'mklms_group_default_tax_class', '' ); -
apply_filters( 'mklms_group_format_label', '', $group_id, $courses ); -
apply_filters( 'mklms_group_paid_cta', null, $group_id, $wc_id, $wc_product, array( 'base_class' => $base_class, 'price_html' => $price_html, ) ); -
do_action( 'mklms_group_retake_started', $user_id, $group_id, $reset_courses ); -
apply_filters( 'mklms_group_should_hide_from_archive', $hide, $group_id ); -
apply_filters( 'mklms_group_skip_course_landing_enabled', $enabled ); -
apply_filters( 'mklms_groups_grid_paid_cta', null, $group_id, (int) $wc_linked_product, $wc_product, array( 'group_url' => $group_url, 'display_price' => $display_price, 'cta_price' => $cta_price, ) ); -
apply_filters( 'mklms_groups_grid_query_args', $query_args, $atts ); -
apply_filters( 'mklms_header_template', plugin_dir_path( __FILE__ ) . 'header-scorm.php' ); -
apply_filters( 'mklms_invoice_due_date_ts', $due, $created_ts ); -
apply_filters( 'mklms_invoice_kid', $kid, $order ); -
apply_filters( 'mklms_my_orders_statuses', self::STATUSES ); -
do_action( 'mklms_my_profile_after', $current_user_id ); -
apply_filters( 'mklms_my_profile_atts', $atts ); -
do_action( 'mklms_my_profile_before', $current_user_id ); -
apply_filters( 'mklms_my_profile_courses_page_url', $archive_url ?: home_url() ); -
apply_filters( 'mklms_my_profile_greeting', $title, $user ); -
apply_filters( 'mklms_my_profile_groups_page_url', $archive_url ?: home_url() ); -
apply_filters( 'mklms_my_profile_login_url', $login_url ); -
apply_filters( 'mklms_my_profile_user_certificates', $user_certificates, $current_user_id, $atts ); -
apply_filters( 'mklms_my_profile_user_courses', $user_courses, $current_user_id, $atts ); -
apply_filters( 'mklms_my_profile_user_group_certificates', $user_group_certificates, $current_user_id, $atts ); -
apply_filters( 'mklms_my_profile_user_groups', $user_groups, $current_user_id, $atts ); -
do_action( 'mklms_package_management_ui', $post_id, $package_path, $launch_file, $formatted_upload_date, $package_attached ); -
do_action( 'mklms_package_processed', $post_id, $processing_kind ); -
do_action( 'mklms_package_row_actions', $package, $can_edit_package ); -
apply_filters( 'mklms_pending_invitation_acquire_grant_locks', null, $batch_id, $user_id, $rows ); -
apply_filters( 'mklms_pending_invitation_additive_role', false, $row ); -
apply_filters( 'mklms_pending_invitation_apply_grant', null, $target_type, $target_id, $user_id, $batch_id ); -
apply_filters( 'mklms_pending_invitation_leader_enroll', true, $group_id, $batch_id, $user_id ); -
apply_filters( 'mklms_pending_invitation_skip_grant', false, $row, $user_id, $batch_id ); -
apply_filters( 'mklms_pending_invitation_target_types', $allowed ); -
apply_filters( 'mklms_pending_invitation_ttl', 14 * DAY_IN_SECONDS ); -
apply_filters( 'mklms_publish_site_ready', true ); -
apply_filters( 'mklms_publish_unsafe_url_ports', array( 0, 1, 7, 9, 11, 13, 15, 17, 19, 20, 21, 22, 23, 25, 37, 42, 43, 53, 69, 77, 79, 87, 95, 101, 102, 103, 104, 109, 110, 111, 113, 115, 117, 119, 123, 135, 137, 139, 143, 179, 389, 427, 465, 512, 513, 514, 515, 526, 530, 531, 532, 540, 548, 554, 556, 563, 587, 601, 636, 993, 995, 1194, 1723, 2049, 3306, 3389, 5432, 5900, 6379, 11211, 27017 ) ); -
do_action( 'mklms_register_upload_rest_routes' ); -
do_action( 'mklms_security_before_turnstile_render', $action, $args ); -
apply_filters( 'mklms_security_protected_forms', $forms ); -
apply_filters( 'mklms_security_rate_limit_rules', $rules ); -
apply_filters( 'mklms_security_turnstile_action_enabled', $enabled, $action ); -
apply_filters( 'mklms_sensitive_url_query_keys', array( 'token', 'access_token', 'auth', 'authorization', 'api_key', 'apikey', 'key', 'signature', 'sig', ) ); -
apply_filters( 'mklms_setup_create_account_url', 'https://mentorkit.com/get-a-free-account/' ); -
apply_filters( 'mklms_setup_demo_courses', array( array( 'slug' => 'lifelong-learning-with-creator', 'title' => __( 'Lifelong Learning with Creator', 'mentorkit-lms-pro-freemium' ), 'description' => __( 'A sample course that shows how Creator content feels for learners.', 'mentorkit-lms-pro-freemium' ), 'download_url' => 'https://mentorkit.com/wp-content/uploads/2026/06/Lifelong-Learning-with-Creator_040626_093410_en.zip', 'cover_image_... ); -
apply_filters( 'mklms_setup_wizard_step_labels', array( 'welcome' => __( 'Welcome', 'mentorkit-lms-pro-freemium' ), 'create_account' => __( 'Create Account', 'mentorkit-lms-pro-freemium' ), 'permalinks' => __( 'Permalinks', 'mentorkit-lms-pro-freemium' ), 'connect' => __( 'Connect', 'mentorkit-lms-pro-freemium' ), 'insights' => apply_filters( 'mklms_admin_brand_label', __( 'Help Improve MentorKit LMS', 'mentorkit-lms-pro-freemium' ), 'insight... ); -
apply_filters( 'mklms_setup_wizard_steps', array( 'welcome', 'connect', 'optional', 'first_course' ) ); -
apply_filters( 'mklms_show_inherited_package_notice', true, $post_id, mklms_polylang_get_package_source_id( $post_id ) ); -
apply_filters( 'mklms_single_group_purchase_options', '', $mklms_group_id, $mklms_cta ); -
do_action( 'mklms_status_updated', $user_id, $scorm_id, $new_status, $score, $current_status ); -
apply_filters( 'mklms_subgroup_is_module', $is_module, $group_id, $parent_id ); -
do_action( 'mklms_updated', $old_version, $new_version ); -
apply_filters( 'mklms_use_theme_header', false ); -
apply_filters( 'mklms_user_led_group_ids', $led_group_ids, $user_id ); -
apply_filters( 'mklms_woocommerce_group_line_access_result', null, array( 'order' => $order, 'order_id' => (int) $order_id, 'item_id' => (int) $item_id, 'item' => $item, 'product' => $product, 'product_id' => (int) $product->get_id(), 'group_id' => (int) $group_id, 'customer_id' => (int) $customer_id, 'quantity' => (int) $item->get_quantity(), ) ); -
apply_filters( 'pll_copy_post_metas', array(), false, $source_id, $translation_id, $language ); -
apply_filters( 'pll_translate_post_meta', $raw_value, $meta_key, $language, $source_id, $translation_id ); -
apply_filters( 'plugin_locale', $locale, $domain ); -
do_action( 'validate_password_reset', $errors, $user ); -
do_action( 'woocommerce_simple_add_to_cart' ); -
do_action( 'wp_login', $user->user_login, $user ); -
apply_filters( 'wp_mail_from', $from_email ); -
apply_filters( 'wp_mail_from_name', $from_name );
Generated from MentorKit LMS: SCORM Courses, Quizzes, Group Management & Certificates'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: