School Management System 2.2.48 has 97 actions and 118 filters, read directly from its source code on Nov 18, 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 School Management System fires an action
add_action( 'wpsp_login_footer', function() {
// Your code runs here.
}, 10, 1 );
// Change a value School Management System is about to use
add_filter( 'wpsp_payment_addon_gate_class', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * Which class must exist for the "Paid" fee-type option to be shown. Hooked so * any payment add-on (not just the legacy WooCommerce one) can unlock it by * returning its own main class name here. */ apply_filters( 'wpsp_payment_addon_gate_class', 'pay_WooCommerce' ); -
/** * This filter is documented in wp-includes/general-template.php */ apply_filters( 'register', $registration_url ); -
/** * Filters the login page body classes. */ apply_filters( 'login_body_class', $classes, $action ); -
/** * Enqueue scripts and styles for the login page. */ do_action( 'login_enqueue_scripts' ); -
/** * Filters the error messages displayed above the login form. */ apply_filters( 'login_errors', $errors ); -
/** * Fires following the 'Password' field in the login form. */ do_action( 'login_form' ); -
/** * Fires before a specified login form action. */ do_action( "login_form_{$action}" ); -
/** * Fires in the login page header after scripts are enqueued. */ do_action( 'login_head' ); -
/** * Filters the title attribute of the header logo above login form. */ apply_filters( 'login_headertitle', $wpsp_login_header_title ); -
/** * Filters link URL of the header logo above login form. */ apply_filters( 'login_headerurl', $wpsp_login_header_url ); -
/** * Fires when the login form is initialized. */ do_action( 'login_init' ); -
/** * Filters the message to display above the login form. */ apply_filters( 'login_message', $message ); -
/** * Filters instructional messages displayed above the login form. */ apply_filters( 'login_messages', $messages ); -
/** * Filters the login redirect URL. */ apply_filters( 'login_redirect', $redirect_to, $requested_redirect_to, $user ); -
/** * Filters the log out redirect URL. */ apply_filters( 'logout_redirect', $redirect_to, $requested_redirect_to, $user ); -
/** * Fires before the lost password form. */ do_action( 'lost_password' ); -
/** * Fires inside the lostpassword form tags, before the hidden fields. */ do_action( 'lostpassword_form' ); -
/** * Fires before errors are returned from a password reset request. */ do_action( 'lostpassword_post', $errors ); -
/** * Filters the URL redirected to after submitting the * lostpassword/retrievepassword form. */ apply_filters( 'lostpassword_redirect', $lostpassword_redirect ); -
/** * Filters the life span of the post password cookie. */ apply_filters( 'post_password_expires', time() + 10 * DAY_IN_SECONDS ); -
/** * Fires following the 'Email' field in the user registration form. */ do_action( 'register_form' ); -
/** * Filters the registration redirect URL. */ apply_filters( 'registration_redirect', $registration_redirect ); -
/** * Fires following the 'Strength indicator' meter in the user password reset * form. */ do_action( 'resetpass_form', $user ); -
/** * Filters the message body of the password reset mail. */ apply_filters( 'retrieve_password_message', $message, $key, $user_login, $user_data ); -
/** * Filters the subject of the password reset email. */ apply_filters( 'retrieve_password_title', $title, $user_login, $user_data ); -
/** * Filters the error codes array for shaking the login form. */ apply_filters( 'shake_error_codes', $shake_error_codes ); -
/** * Fires before the password reset procedure is validated. */ do_action( 'validate_password_reset', $errors, $user ); -
/** * Filters the login page errors. */ apply_filters( 'wp_login_errors', $errors, $redirect_to ); -
/** * Filters the Multisite sign up URL. */ apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ); -
/** * Generic hook so addons (e.g. Payments) can inject their own per-row action * icons/links without this core file needing to know anything about them. * Passes the class id and the full class row object. */ do_action( 'wpsp_class_list_row_actions', $wpsp_class->cid, $wpsp_class ); -
/** * Fires in the login page header after the body tag is opened. */ do_action( 'wpsp_login_header' ); -
apply_filters( 'active_plugins', get_option( 'active_plugins') ); -
do_action( 'wpsp_student_data_field', $lastid ); -
apply_filters( 'notify_type_name', $notify_type_name ); -
do_action( 'wpsp_student_created', $user_id, $studenttable ); -
apply_filters( 'wpsp_student_marks_heading_item', "Students Marks" ); -
do_action( 'wpsp_teacher_created', $user_id, $teachertable ); -
apply_filters( 'appsero_is_local', $is_local ); -
do_action( 'wpshoolpress_after_attendance' ); -
apply_filters( 'wpsp_add_event_popup_description_label', "Description :" ); -
apply_filters( 'wpsp_add_event_popup_end_label', "End :" ); -
apply_filters( 'wpsp_add_event_popup_start_label', "Start :" ); -
do_action( 'wpsp_after_student_parent_detail_fields' ); -
do_action( 'wpsp_after_student_personal_detail_fields' ); -
do_action( 'wpsp_after_student_school_detail_fields' ); -
do_action( 'wpsp_after_subject_detail_fields' ); -
do_action( 'wpsp_before_student_parent_detail_fields' ); -
do_action( 'wpsp_before_student_personal_detail_fields' ); -
do_action( 'wpsp_before_student_school_detail_fields' ); -
do_action( 'wpsp_before_subject_detail_fields' ); -
apply_filters( 'wpsp_event_heading_item', "Event calendar" ); -
do_action( 'wpsp_render_payment_dashboard', 'admin' ); -
apply_filters( 'wpsp_send_notification_msg', false, $phone, $absentreason ); -
apply_filters( 'wpsp_send_notification_msg_twilio', false, $phone, wp_kses_post($absentreason) ); -
apply_filters( 'wpsp_settings_tab_info_heading', 'Info' ); -
do_action( 'wpsp_student_delete', intval($uid) ); -
apply_filters( 'wpsp_student_parent_is_required', array() ); -
apply_filters( 'wpsp_student_personal_is_required', array() ); -
apply_filters( 'wpsp_student_school_is_required', array() ); -
apply_filters( 'wpsp_subject_title_item', array() ); -
do_action( 'wpsp_teacher_delete', intval($uid) ); -
apply_filters( 'wpsp_whatsapp_msg_send', $phone, $description, $studInfo->s_fname, $entry_date ); -
do_action( 'wpspsmpro_add_posts_html' ); -
do_action( 'wpspsmpro_edit_posts_html' ); -
apply_filters( "{$this->client->slug}_tracker_data", $data ); -
do_action( "{$this->client->slug}_tracker_optin", $this->get_tracking_data() ); -
do_action( "{$this->client->slug}_tracker_optout" ); -
do_action( "{$this->client->slug}_uninstall_reason_submitted", $data ); -
do_action( 'after_appsero_license_section' ); -
apply_filters( 'appsero_custom_deactivation_reasons', [], $this->client ); -
apply_filters( 'appsero_endpoint', 'https://api.appsero.com' ); -
do_action( 'before_appsero_license_section' ); -
apply_filters( 'enable_login_autofocus', true ); -
do_action( 'wp_login', $loginusername ); -
apply_filters( 'wpsp_add_event_popup_button_delete_text', "Delete" ); -
apply_filters( 'wpsp_add_event_popup_button_edit_text', "Edit Event" ); -
apply_filters( 'wpsp_add_event_popup_heading_item', "Add Event" ); -
apply_filters( 'wpsp_add_event_popup_title_item', array() ); -
apply_filters( 'wpsp_add_notify_heading_item', "Notification :" ); -
apply_filters( 'wpsp_add_transportation_heading_item', esc_html__('Add Transportation', 'wpschoolpress' ) ); -
do_action( 'wpsp_after_class_detail_fields', $c_fee_type, isset($classid) ? $classid : 0 ); -
do_action( 'wpsp_after_event' ); -
do_action( 'wpsp_after_exam_fields' ); -
do_action( 'wpsp_after_license' ); -
do_action( 'wpsp_after_notification' ); -
do_action( 'wpsp_after_parent_personal_detail_editprofile_fields' ); -
do_action( 'wpsp_after_personal_detail_editprofile_fields' ); -
do_action( 'wpsp_after_setting_info' ); -
do_action( 'wpsp_after_student_account_detail_fields' ); -
do_action( 'wpsp_after_subject_edit_form', $subid, $classid ); -
do_action( 'wpsp_after_teacher_account_detail_fields' ); -
do_action( 'wpsp_after_teacher_personal_detail_editprofile_fields' ); -
do_action( 'wpsp_after_teacher_personal_detail_fields' ); -
do_action( 'wpsp_after_teacher_school_detail_fields' ); -
do_action( 'wpsp_before_class_detail_fields' ); -
do_action( 'wpsp_before_event' ); -
do_action( 'wpsp_before_exam_fields' ); -
do_action( 'wpsp_before_leavecalendar' ); -
do_action( 'wpsp_before_license' ); -
do_action( 'wpsp_before_notification' ); -
do_action( 'wpsp_before_parent_personal_detail_editprofile_fields' ); -
do_action( 'wpsp_before_personal_detail_editprofile_fields' ); -
do_action( 'wpsp_before_setting_info' ); -
do_action( 'wpsp_before_student_account_detail_fields' ); -
do_action( 'wpsp_before_teacher_account_detail_fields' ); -
do_action( 'wpsp_before_teacher_personal_detail_editprofile_fields' ); -
do_action( 'wpsp_before_teacher_personal_detail_fields' ); -
do_action( 'wpsp_before_teacher_school_detail_fields' ); -
do_action( 'wpsp_class_created', $wpdb->insert_id, $class_data ); -
do_action( 'wpsp_class_delete', intval($cid) ); -
apply_filters( 'wpsp_class_is_required', array() ); -
apply_filters( 'wpsp_class_title_item', esc_html("Class Name", "wpschoolpress") ); -
do_action( 'wpsp_class_updated', (int) $cid, $class_data ); -
do_action( 'wpsp_event_created', $wpdb->insert_id, $event_data ); -
do_action( 'wpsp_event_delete', intval($evid) ); -
do_action( 'wpsp_event_updated', intval($evid), $event_data ); -
do_action( 'wpsp_exam_created', $wpdb->insert_id, $exam_data ); -
do_action( 'wpsp_exam_delete', intval($eid) ); -
apply_filters( 'wpsp_exam_fields_is_required', array() ); -
apply_filters( 'wpsp_exam_submit_button_text', esc_html__('Submit' , 'wpschoolpress' ) ); -
apply_filters( 'wpsp_exam_update_button_text', esc_html__( 'Update' , 'wpschoolpress' ) ); -
do_action( 'wpsp_exam_updated', intval($eid), $exam_data ); -
apply_filters( 'wpsp_leaveclendar_heading_item', 'Generate Leave days for a class' ); -
apply_filters( 'wpsp_leaveclendar_title_item', array() ); -
apply_filters( 'wpsp_licensing_option_values', $option_value, $_POST ); -
do_action( 'wpsp_marks_actions' ); -
do_action( 'wpsp_parent_import_html' ); -
apply_filters( 'wpsp_parent_popupvalue', esc_html__('Parent Name:', 'wpschoolpress') ); -
apply_filters( 'wpsp_parent_popupvalue_email', esc_html__('Parent Email:', 'wpschoolpress') ); -
apply_filters( 'wpsp_parent_popupvalue_gender', esc_html__('Parent Gender:', 'wpschoolpress') ); -
apply_filters( 'wpsp_parent_popupvalue_parentprofession', esc_html__(' Parent Profession:', 'wpschoolpress') ); -
do_action( 'wpsp_payment_service' ); -
apply_filters( 'wpsp_send_notification_msg_termii', false, $to, $description ); -
apply_filters( 'wpsp_setting_licensig_button_submit_text', 'Save' ); -
do_action( 'wpsp_settings_tab_content' ); -
apply_filters( 'wpsp_settings_tab_sms_', 'SMS' ); -
do_action( 'wpsp_settings_tabs' ); -
do_action( 'wpsp_sms_setting_html', $settings_data ); -
apply_filters( 'wpsp_student_account_is_required', array() ); -
apply_filters( 'wpsp_student_attendance_heading_detail', 'Attendance Report' ); -
apply_filters( 'wpsp_student_attendance_title_item', "Attendance" ); -
do_action( 'wpsp_student_import_html' ); -
apply_filters( 'wpsp_student_marks_title_item', esc_html("Class Name","wpschoolpress") ); -
apply_filters( 'wpsp_student_table_fullname_heading', 'Student Name' ); -
apply_filters( 'wpsp_student_table_parent_heading', 'Parent Name' ); -
apply_filters( 'wpsp_student_table_rollno_heading', 'Roll No.' ); -
apply_filters( 'wpsp_student_table_streetaddress_heading', 'Permanent Address' ); -
apply_filters( 'wpsp_subject_button_back_label', "Back" ); -
apply_filters( 'wpsp_subject_button_submit_label', "Submit" ); -
do_action( 'wpsp_subject_created', $wpdb->insert_id, $sub_ent ); -
do_action( 'wpsp_subject_delete', intval($subid) ); -
apply_filters( 'wpsp_subject_fields_is_required', array() ); -
apply_filters( 'wpsp_subject_mark_field_button_cancel_text', "Cancel" ); -
apply_filters( 'wpsp_subject_mark_field_button_submit_text', "Submit" ); -
apply_filters( 'wpsp_subject_mark_field_heading_item', "Add Subject Mark Fields" ); -
apply_filters( 'wpsp_subject_mark_field_title_item', "Class Name" ); -
do_action( 'wpsp_subject_updated', intval($srid), $subject_data ); -
apply_filters( 'wpsp_teacher_account_is_required', array() ); -
apply_filters( 'wpsp_teacher_attendance_heading_item', "Teacher Attendance" ); -
do_action( 'wpsp_teacher_import_html' ); -
apply_filters( 'wpsp_teacher_personal_is_required', array() ); -
apply_filters( 'wpsp_teacher_school_is_required', array() ); -
do_action( 'wpsp_teacher_updated', intval($user_id), $teacher_data ); -
apply_filters( 'wpsp_timetable_is_required', array() ); -
apply_filters( 'wpsp_timetable_title_item', esc_html("Class Name","wpschoolpress") ); -
do_action( 'wpsp_UpdateStudent', $user_id, $studenttable ); -
do_action( 'wpsp_workinghours_after' ); -
do_action( 'wpsp_workinghours_before' ); -
apply_filters( 'wpsp_workinghours_heading_item', 'Class hours' ); -
do_action( 'wpspsmpro_documents_list_html' ); -
do_action( 'wpspsmpro_friends_list_html' ); -
do_action( 'wpspsmpro_list_posts_html' ); -
do_action( 'wpspsmpro_list_postsprofile_html' ); -
do_action( 'wpspsmpro_list_reportedposts_html' ); -
do_action( 'wpspsmpro_posts_notification_list_html' );
Generated from School Management System'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: