All-In-One Security (AIOS) 5.5.1 has 51 actions and 143 filters, read directly from its source code on Nov 17, 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 All-In-One Security (AIOS) fires an action
add_action( 'aios_record_event', function( $arg1, $details, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value All-In-One Security (AIOS) is about to use
add_filter( 'disable_months_dropdown', function( $value, $post_type ) {
// 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
-
/** * Filters the list table Bulk Actions drop-down. */ apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); -
disable_months_dropdown
filter/** * Filters whether to remove the 'Months' drop-down from the post list table. */ apply_filters( 'disable_months_dropdown', false, $post_type ); -
list_table_primary_column
filter/** * Filters the name of the primary column for the current list table. */ apply_filters( 'list_table_primary_column', $default, $this->screen->id ); -
/** * Filters the list table sortable columns for a specific screen. */ apply_filters( "manage_{$this->screen->id}_sortable_columns", $sortable_columns ); -
months_dropdown_results
filter/** * Filters the 'Months' drop-down results. */ apply_filters( 'months_dropdown_results', $months, $post_type ); -
views_{$this->screen->id}
filter/** * Filters the list of available list table views. */ apply_filters( "views_{$this->screen->id}", $views ); -
/** * Filters the commands allowed to the sub site admins. Other commands are only * available to network admin. Only used in a multisite context. */ apply_filters( 'aios_multisite_allowed_commands', $this->get_multisite_allowed_commands() ); -
https_local_ssl_verify
filter/** * This filter is documented in wp-includes/class-wp-http-streams.php */ apply_filters( 'https_local_ssl_verify', false ); -
post_password_expires
filter/** * Filter the life span of the post password cookie. */ apply_filters( 'post_password_expires', time() + 10 * DAY_IN_SECONDS ); -
aios_record_event
actiondo_action( 'aios_record_event', 'core_updated', $details, 'info' ); -
aios_management_permission
filterapply_filters( 'aios_management_permission', 'manage_options' ); -
apply_filters( 'simbatfa_enqueue_login_scripts', false ); -
apply_filters( 'simba_tfa_message_code_incorrect', __('The one-time password (TFA code) you entered was incorrect.', 'all-in-one-wp-security-and-firewall') ); -
aios_activation_complete
actiondo_action( 'aios_activation_complete' ); -
apply_filters( 'aios_audit_log_event_user_country_code', array('ip' => $ip) ); -
aios_audit_log_event_user_ip
filterapply_filters( 'aios_audit_log_event_user_ip', AIOWPSecurity_Utility_IP::get_user_ip_address() ); -
aios_audit_log_record_event
filterapply_filters( 'aios_audit_log_record_event', true, $event_type, $details, $event_level, $username ); -
apply_filters( 'aios_purge_events_records_after_days', $purge_events_records_after_days ); -
aios_server_type
filterapply_filters( 'aios_server_type', -1 ); -
do_action( 'aios_site_lockout_settings_saved' ); -
apply_filters( 'simba_tfa_emergency_codes_user_settings', false, $user_id ); -
updraftplus_com_link
filterapply_filters( 'updraftplus_com_link', 'https://teamupdraft.com/blog/unblock-ip-address/' ); -
do_action( 'aios_additional_report_actions' ); -
aios_after_report_sections
actiondo_action( 'aios_after_report_sections' ); -
aios_after_send_email
actiondo_action( 'aios_after_send_email', $recipient, $subject, $message, $headers, $attachments, $result ); -
aios_after_template
actiondo_action( 'aios_after_template', $path, $template_file, $return_instead_of_echo, $extract_these ); -
apply_filters( 'aios_allowed_files_scanning_stages', $stages, $type ); -
aios_allowed_task_types
filterapply_filters( 'aios_allowed_task_types', $types ); -
aios_audit_filter_details
filterapply_filters( 'aios_audit_filter_details', $details, $entry['event_type'] ); -
do_action( 'aios_audit_log_retention_settings' ); -
aios_before_lockdown
filterapply_filters( 'aios_before_lockdown', $ip_range ); -
aios_before_report_sections
actiondo_action( 'aios_before_report_sections' ); -
aios_before_set_404
actiondo_action( 'aios_before_set_404' ); -
aios_before_template
actiondo_action( 'aios_before_template', $path, $template_file, $return_instead_of_echo, $extract_these ); -
do_action( 'aios_before_wp_die_renamed_login' ); -
apply_filters( 'aios_blocked_request_redirect_url', 'http://127.0.0.1' ); -
aios_captcha_data_callback
filterapply_filters( 'aios_captcha_data_callback', false ); -
aios_clean_up_old_tasks
actiondo_action( 'aios_clean_up_old_tasks' ); -
aios_dashboard_setup
actiondo_action( 'aios_dashboard_setup' ); -
aios_dashboard_widgets
filterapply_filters( 'aios_dashboard_widgets', array() ); -
aios_deactivation_complete
actiondo_action( 'aios_deactivation_complete' ); -
do_action( 'aios_delete_expired_logged_in_users_event' ); -
aios_export_config_settings
filterapply_filters( 'aios_export_config_settings', $config_data ); -
apply_filters( 'aios_failed_login_by_ip_summary', $failed_login_by_ip_summary_table_data, $failed_login_by_ip_data ); -
apply_filters( 'aios_failed_login_byusername_summary', $failed_login_summary_table_data, $failed_login_summary_data ); -
aios_feature_list
filterapply_filters( 'aios_feature_list', $feature_list ); -
aios_file_permission_list
filterapply_filters( 'aios_file_permission_list', $file_list ); -
aios_file_scan_completed
actiondo_action( 'aios_file_scan_completed', $scan_result ); -
apply_filters( 'aios_filter_critical_features_array', $critical_features ); -
apply_filters( 'aios_filter_event_logger_data', $data ); -
aios_firewall_session_prune
actiondo_action( 'aios_firewall_session_prune' ); -
aios_force_logout_check
actiondo_action( 'aios_force_logout_check' ); -
aios_generate_report_content
filterapply_filters( 'aios_generate_report_content', $report_content . $main_content ); -
apply_filters( 'aios_generate_report_section_below', $data ); -
aios_get_aios_info
filterapply_filters( 'aios_get_aios_info', $aios_info ); -
aios_get_cron_jobs_info
filterapply_filters( 'aios_get_cron_jobs_info', $cron_jobs_list ); -
aios_get_database_info
filterapply_filters( 'aios_get_database_info', $database_info ); -
aios_get_debug_log_info
filterapply_filters( 'aios_get_debug_log_info', $debug_log ); -
aios_get_dropin_plugins_info
filterapply_filters( 'aios_get_dropin_plugins_info', $dropins_list ); -
aios_get_last_login_time
filterapply_filters( 'aios_get_last_login_time', get_user_meta($user_id, 'aiowps_last_login_time', true), $user_id ); -
aios_get_mu_plugins_info
filterapply_filters( 'aios_get_mu_plugins_info', $mu_plugins_list ); -
aios_get_php_info
filterapply_filters( 'aios_get_php_info', $php_info ); -
aios_get_plugins_info
filterapply_filters( 'aios_get_plugins_info', $plugins_list ); -
aios_get_server_info
filterapply_filters( 'aios_get_server_info', $server_info ); -
aios_get_themes_info
filterapply_filters( 'aios_get_themes_info', $themes_list ); -
aios_get_wordpress_info
filterapply_filters( 'aios_get_wordpress_info', $wp_info ); -
apply_filters( 'aios_htaccess_rules_before_writing', $rulesarray ); -
aios_import_config_settings
filterapply_filters( 'aios_import_config_settings', $settings_array ); -
aios_ip_blocked_error_msg
filterapply_filters( 'aios_ip_blocked_error_msg', sprintf(__('%s: Access from your IP address has been blocked for security reasons.', 'all-in-one-wp-security-and-firewall'), '<strong>' . __('ERROR', 'all-in-one-wp-security-and-firewall') . '</strong>') . ' ' . __('Please contact the administrator.', 'all-in-one-wp-security-and-firewall') ); -
aios_ip_blocked_output_page
filterapply_filters( 'aios_ip_blocked_output_page', $error_msg, $unlock_form ); -
aios_is_bot_detected
filterapply_filters( 'aios_is_bot_detected', $return ); -
apply_filters( 'aios_is_comment_spam_detected', $return ); -
aios_last5_logins_summary
filterapply_filters( 'aios_last5_logins_summary', $login_summary_table_data, $login_lastx_records ); -
aios_list_404_get_columns
filterapply_filters( 'aios_list_404_get_columns', $columns ); -
apply_filters( 'aios_list_404_get_sortable_columns', $sortable_columns ); -
apply_filters( 'aios_list_auditlogs_get_columns', $columns ); -
apply_filters( 'aios_list_auditlogs_get_sortable_columns', $sortable_columns ); -
aios_lockdown_event
actiondo_action( 'aios_lockdown_event', $ip_range, $username ); -
apply_filters( 'aios_login_lockdown_email_message', $email_msg, $ip_lookup_result ); -
apply_filters( 'aios_login_lockdown_lookup_result', $reverse_lookup_data, $data, $service_name ); -
aios_management_capability
filterapply_filters( 'aios_management_capability', current_user_can($cap) ); -
apply_filters( 'aios_max_allowed_upload_config', $upload_size ); -
apply_filters( 'aios_modify_captcha_settings_template', $templates ); -
apply_filters( 'aios_modify_file_protection_template', $templates ); -
apply_filters( 'aios_modify_htaccess_firewall_rules_template', $templates ); -
apply_filters( 'aios_modify_php_firewall_rules_template', $templates ); -
apply_filters( 'aios_pending_registration_message', $pending_approval_msg ); -
do_action( 'aios_perform_db_cleanup_tasks' ); -
apply_filters( 'aios_perform_delete_malware_files', $this->handle_response(false, __('This feature is only available in the premium version of the plugin.', 'all-in-one-wp-security-and-firewall')), $data ); -
aios_perform_fcd_scan_tasks
actiondo_action( 'aios_perform_fcd_scan_tasks' ); -
apply_filters( 'aios_perform_quarantine_malware_files', $this->handle_response(false, __('This feature is only available in the premium version of the plugin.', 'all-in-one-wp-security-and-firewall')), $data ); -
apply_filters( 'aios_perform_repair_malware_files', $this->handle_response(false, __('This feature is only available in the premium version of the plugin.', 'all-in-one-wp-security-and-firewall')), $data ); -
apply_filters( 'aios_perform_restore_malware_files', $this->handle_response(false, __('This feature is only available in the premium version of the plugin.', 'all-in-one-wp-security-and-firewall')), $data ); -
do_action( 'aios_perform_update_antibot_keys' ); -
apply_filters( 'aios_plugin_installed_timestamp', $installed_at ); -
apply_filters( 'aios_pre_add_to_permanent_block', $data ); -
aios_print_captcha_api_woo
filterapply_filters( 'aios_print_captcha_api_woo', false ); -
apply_filters( 'aios_promotional_notice_content', $promotional_notice_content ); -
apply_filters( 'aios_purge_audit_log_records_after_days', $purge_audit_table_after_days ); -
apply_filters( 'aios_purge_global_meta_records_after_days', $purge_global_meta_records_after_days ); -
apply_filters( 'aios_purge_login_lockout_records_after_days', $purge_login_lockout_records_after_days ); -
apply_filters( 'aios_register_approval_email_msg', $email_msg, $user ); -
apply_filters( 'aios_register_approval_email_subject', $subject ); -
aios_rename_login_load
actiondo_action( 'aios_rename_login_load' ); -
apply_filters( 'aios_render_smart_404_blocked_ips_table', $this->handle_response(false, __('This feature is only available on AIOS Premium.', 'all-in-one-wp-security-and-firewall')), $data ); -
aios_report_section_content
filterapply_filters( 'aios_report_section_content', AIOWPSecurity_Utility_UI::format_data_as_table($sanitized_section_content) ); -
aios_reset_all_settings
actiondo_action( 'aios_reset_all_settings' ); -
aios_rest_api_error_message
filterapply_filters( 'aios_rest_api_error_message', __('You are not authorized to perform this action.', 'all-in-one-wp-security-and-firewall') ); -
apply_filters( 'aios_roles_allowed_to_block_ips', array('administrator', 'editor', 'author') ); -
apply_filters( 'aios_salt_change_schedule_time', '3:00 am' ); -
aios_salt_postfixes_scheme
filterapply_filters( 'aios_salt_postfixes_scheme', $salt_postfixes_scheme ); -
apply_filters( 'aios_save_audit_log_retention', $this->handle_response(false, __('This feature is only available on AIOS Premium.', 'all-in-one-wp-security-and-firewall')), $data ); -
apply_filters( 'aios_save_instant_404_block_settings', $this->handle_response(false, __('This feature is only available on AIOS Premium.', 'all-in-one-wp-security-and-firewall')), $data ); -
aios_save_smart_404_settings
filterapply_filters( 'aios_save_smart_404_settings', $this->handle_response(false, __('This feature is only available on AIOS Premium.', 'all-in-one-wp-security-and-firewall')), $data ); -
apply_filters( 'aios_save_smart_404_whitelist_settings', $this->handle_response(false, __('This feature is only available on AIOS Premium.', 'all-in-one-wp-security-and-firewall')), $data ); -
aios_send_lockout_email
actiondo_action( 'aios_send_lockout_email' ); -
aios_setting_tabs
filterapply_filters( 'aios_setting_tabs', $menu_tabs ); -
aios_site_lockout_output
filterapply_filters( 'aios_site_lockout_output', '' ); -
apply_filters( 'aios_site_lockout_template_include', AIO_WP_SECURITY_PATH . '/other-includes/wp-security-visitor-lockout-page.php' ); -
aios_smart_404_notice
filterapply_filters( 'aios_smart_404_notice', $aios_smart_404_notice ); -
aios_task_types
filterapply_filters( 'aios_task_types', $this->task_types ); -
aios_template
filterapply_filters( 'aios_template', $template_file, $path ); -
aios_unblock_smart404_ip
filterapply_filters( 'aios_unblock_smart404_ip', $this->handle_response(false, __('This feature is only available on AIOS Premium.', 'all-in-one-wp-security-and-firewall')), $data ); -
aios_uninstallation_complete
actiondo_action( 'aios_uninstallation_complete' ); -
do_action( 'aios_update_bingbot_ip_ranges' ); -
do_action( 'aios_update_country_blocking_data', $country_origin, $reason ); -
do_action( 'aios_update_googlebot_ip_ranges' ); -
apply_filters( 'aios_updraft_connect_auth_headers', $headers ); -
aios_updraft_connect_data
filterapply_filters( 'aios_updraft_connect_data', $data ); -
aios_updraft_connect_url
filterapply_filters( 'aios_updraft_connect_url', AIOWPS_UPDRAFT_CONNECT_URL ); -
aios_webhook_notification
filterapply_filters( 'aios_webhook_notification', false, $data ); -
aios_whitelisted_rest_routes
filterapply_filters( 'aios_whitelisted_rest_routes', $aio_wp_security->configs->get_value('aios_whitelisted_rest_routes') ); -
aios_wp_loaded_tasks_end
actiondo_action( 'aios_wp_loaded_tasks_end', $this ); -
aios_wp_loaded_tasks_start
actiondo_action( 'aios_wp_loaded_tasks_start', $this ); -
do_action( 'aiowps_before_updraft_connect_section' ); -
do_action( 'bp_aiowps-captcha-answer_errors' ); -
cron_request
filterapply_filters( 'cron_request', array( 'url' => add_query_arg('doing_wp_cron', $doing_wp_cron, site_url('wp-cron.php')), 'key' => $doing_wp_cron, 'args' => array( 'timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', false), ), ), $doing_wp_cron ); -
login_head
actiondo_action( 'login_head' ); -
login_redirect
filterapply_filters( 'login_redirect', $redirect_to, $requested_redirect_to, wp_get_current_user() ); -
plugins_loaded
actiondo_action( 'plugins_loaded' ); -
secure_auth_cookie
filterapply_filters( 'secure_auth_cookie', $secure, get_current_user_id() ); -
secure_logged_in_cookie
filterapply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, get_current_user_id(), $secure ); -
do_action( 'simba_tfa_activation_status_saved', $user_id, $setting, $previously_enabled, $this ); -
simba_tfa_adding_private_key
actiondo_action( 'simba_tfa_adding_private_key', $alg, $user_id, $code, $this ); -
simba_tfa_after_user_roles
filterapply_filters( 'simba_tfa_after_user_roles', $output ); -
apply_filters( 'simba_tfa_delete_option_site_id', $main_site_id ); -
do_action( 'simba_tfa_emergency_code_used', $user_id, $emergency_codes ); -
do_action( 'simba_tfa_emergency_codes_empty', $algorithm, $user_id, $tfa_priv_key, $this ); -
simba_tfa_fetch_assort_vars
filterapply_filters( 'simba_tfa_fetch_assort_vars', array( 'url' => $url, 'tfa_priv_key_64' => $tfa_priv_key_64, 'tfa_priv_key' => $tfa_priv_key, 'emergency_str' => '<em>'.__('No emergency codes left. Sorry.', 'all-in-one-wp-security-and-firewall').'</em>', 'algorithm_type' => $algorithm_type ), $totp_controller, $current_user ); -
simba_tfa_get_option_site_id
filterapply_filters( 'simba_tfa_get_option_site_id', $main_site_id ); -
apply_filters( 'simba_tfa_login_enqueue_localize', $localize ); -
apply_filters( 'simba_tfa_management_capability', 'manage_options' ); -
apply_filters( 'simba_tfa_message_personal_settings', __('These are your personal settings.', 'all-in-one-wp-security-and-firewall') . ' ' . __('Nothing you change here will have any effect on other users.', 'all-in-one-wp-security-and-firewall') ); -
simba_tfa_required_for_user
filterapply_filters( 'simba_tfa_required_for_user', false, $user_id ); -
apply_filters( 'simba_tfa_settings_woocommerce', '<a href="' . esc_url($simba_tfa->get_premium_version_url()) . '">' . esc_html__('The Premium version of this plugin allows you to add a configuration tab for users in the WooCommerce "My account" area, and anti-bot protection on the WooCommerce login form.', 'all-in-one-wp-security-and-firewall').'</a>' ); -
simba_tfa_tfa_from_password
filterapply_filters( 'simba_tfa_tfa_from_password', false, $password ); -
apply_filters( 'simba_tfa_totp_translation_strings', array( 'ajax_url' => $ajax_url, 'updating' => __('Updating...', 'all-in-one-wp-security-and-firewall'), 'tfa_shared_nonce' => wp_create_nonce('tfa_shared_nonce'), 'also_try' => $also_try, 'response' => __('Response:', 'all-in-one-wp-security-and-firewall'), ) ); -
apply_filters( 'simba_tfa_trusted_devices_config', $output ); -
apply_filters( 'simba_tfa_update_option_site_id', $main_site_id ); -
simba_tfa_user_can_trust
filterapply_filters( 'simba_tfa_user_can_trust', false, $user_id ); -
do_action( 'simba_tfa_user_settings_after_advanced_settings' ); -
simba_tfa_users_settings
actiondo_action( 'simba_tfa_users_settings' ); -
apply_filters( 'simbatfa_affwp_process_login_form_auth_result', $code_ok, $params ); -
simbatfa_after_template
actiondo_action( 'simbatfa_after_template', $path, $return_instead_of_echo, $extract_these, $template_file ); -
apply_filters( 'simbatfa_auth_user_from_login_params', $params ); -
simbatfa_before_template
actiondo_action( 'simbatfa_before_template', $path, $return_instead_of_echo, $extract_these, $template_file ); -
apply_filters( 'simbatfa_check_back_time_windows', 2 ); -
apply_filters( 'simbatfa_check_forward_counter_window', 20 ); -
apply_filters( 'simbatfa_check_forward_time_windows', 1 ); -
apply_filters( 'simbatfa_check_tfa_requirements_ajax_response', $results ); -
apply_filters( 'simbatfa_enforce_require_after_check', $enforce_require_after_check, $user_id, $require_after, $account_age ); -
simbatfa_load_providers
filterapply_filters( 'simbatfa_load_providers', array('totp') ); -
apply_filters( 'simbatfa_message_you_should_verify', __('If you activate two-factor authentication, then verify that your two-factor application and this page show the same One-Time Password (within a minute of each other) before you log out.', 'all-in-one-wp-security-and-firewall') ); -
apply_filters( 'simbatfa_notfa_forbidden_login', '<strong>'.__('Error:', 'all-in-one-wp-security-and-firewall').'</strong> '.__('The site owner has forbidden you to login without two-factor authentication. Please contact the site owner to re-gain access.', 'all-in-one-wp-security-and-firewall') ); -
apply_filters( 'simbatfa_notfa_forbidden_login_altuser', '<strong>'.__('Error:', 'all-in-one-wp-security-and-firewall').'</strong> '.__('You are attempting to log in to an account that has two-factor authentication enabled; this requires you to also have two-factor authentication enabled on the account whose credentials you are using.', 'all-in-one-wp-security-and-firewall') ); -
simbatfa_radiolabel_disabled
filterapply_filters( 'simbatfa_radiolabel_disabled', $tfa_disabled_label, $long_label ); -
simbatfa_radiolabel_enabled
filterapply_filters( 'simbatfa_radiolabel_enabled', $tfa_enabled_label, $long_label ); -
simbatfa_template_file
filterapply_filters( 'simbatfa_template_file', $this->templates_dir().'/'.$path, $path, $extract_these, $return_instead_of_echo ); -
simbatfa_tfa_user_not_found
filterapply_filters( 'simbatfa_tfa_user_not_found', '<strong>'.__('Error:', 'all-in-one-wp-security-and-firewall').'</strong> '.__('The indicated user could not be found.', 'all-in-one-wp-security-and-firewall') ); -
simbatfa_time_window_size
filterapply_filters( 'simbatfa_time_window_size', 30 ); -
apply_filters( 'simbatfa_verify_code_and_user_result', $ret, $original_user, $username, $password ); -
template_include
filterapply_filters( 'template_include', $template ); -
template_redirect
actiondo_action( 'template_redirect' ); -
tfa_user_ip_address
filterapply_filters( 'tfa_user_ip_address', isset($_SERVER['REMOTE_ADDR']) ? sanitize_text_field(wp_unslash($_SERVER['REMOTE_ADDR'])) : '' ); -
the_content
filterapply_filters( 'the_content', $maintenance_msg ); -
apply_filters( 'updraftcentral_command_base_class_at', UPDRAFTPLUS_DIR.'/central/commands.php' ); -
wp_safe_redirect_fallback
filterapply_filters( 'wp_safe_redirect_fallback', admin_url(), 302 );
Generated from All-In-One Security (AIOS)'s GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: