Security Plugin, Firewall & Malware Scanner with Auto Removal icon
Security

Security Plugin, Firewall & Malware Scanner with Auto Removal hooks reference

  • By CleanTalk Inc
  • v2.192 New
  • Updated

Security Plugin, Firewall & Malware Scanner with Auto Removal 2.192 has 6 actions and 10 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.

functions.phpyour child theme
// Run your own code when Security Plugin, Firewall & Malware Scanner with Auto Removal fires an action
add_action( 'spbc_before_returning_settings', function( $settings ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Security Plugin, Firewall & Malware Scanner with Auto Removal is about to use
add_filter( 'apbct_get_api_key_email', function( $admin_email ) {
	// Change $admin_email here.
	return $admin_email;
}, 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

  • inc/spbc-wpcli.php line 63
    /**
     * Filters the email to get Access key
     */
    apply_filters( 'apbct_get_api_key_email', $admin_email );
  • inc/spbc-settings.php line 3375
    /**
     * Triggered before returning the settings
     */
    do_action( 'spbc_before_returning_settings', $settings );
  • inc/spbc-settings.php line 3420
    /**
     * Filters the email to get API key
     */
    apply_filters( 'spbc_get_api_key_email', $admin_email );
  • lib/CleantalkSP/SpbctWP/Activator.php line 161
    /**
     * Filters a getting API key flag
     */
    apply_filters( 'spbc_is_get_api_key', false );
  • lib/CleantalkSP/SpbctWP/Firewall/FirewallModule.php line 74
    /**
     * Use something like that to set a cookie before die (useful for cache 403
     * errors).
     */
    do_action( 'spbct_firewall_before_die', $result );
  • inc/spbc-admin.php line 1073
    /**
     * Hook. List of allowed user roles for the Dashboard widget.
     * add_filter('spbct_hook_dashboard_widget_allowed_roles_list',
     * function($roles_list) { $roles_list[] = 'editor'; return $roles_list; });
     */
    apply_filters( 'spbct_hook_dashboard_widget_allowed_roles_list', array('administrator') );
  • inc/spbc-auth.php line 455 · used in 3 places
    do_action( 'spbc_log_wrong_auth' );
  • inc/admin-bar.php line 26
    apply_filters( 'cleantalk_admin_bar__add_icon_to_parent_node', '' );
  • inc/admin-bar.php line 31
    apply_filters( 'cleantalk_admin_bar__parent_node__after', '' );
  • inc/admin-bar.php line 27
    apply_filters( 'cleantalk_admin_bar__parent_node__before', '' );
  • inc/admin-bar.php line 20
    do_action( 'cleantalk_admin_bar__prepare_counters' );
  • lib/CleantalkSP/SpbctWP/DB/ColumnCreator.php line 60
    do_action( "ColumnCreator_before_change_column_{$column_name}" );
  • lib/CleantalkSP/SpbctWP/DB/ColumnCreator.php line 52
    do_action( "ColumnCreator_before_drop_column_{$column_name}" );
  • inc/spbc-admin.php line 874
    apply_filters( 'spbc_new_salts_filter', $new_salts );
  • inc/spbc-admin.php line 875
    apply_filters( 'spbc_salts_array_filter', $salts_array );
  • lib/CleantalkSP/SpbctWP/Upgrader.php line 105
    apply_filters( 'upgrader_package_options', $options );

Generated from Security Plugin, Firewall & Malware Scanner with Auto Removal'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: