Anti-Spam, Spam FireWall by CleanTalk 6.92 has 6 actions and 28 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 Anti-Spam, Spam FireWall by CleanTalk fires an action
add_action( 'apbct_before_returning_settings', function( $incoming_settings ) {
// Your code runs here.
}, 10, 1 );
// Change a value Anti-Spam, Spam FireWall by CleanTalk is about to use
add_filter( 'apbct__filter_post', function( $_POST ) {
// Change $_POST here.
return $_POST;
}, 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
-
apbct__filter_post
filter/** * Filter for POST */ apply_filters( 'apbct__filter_post', $_POST ); -
apbct_get_api_key_email
filter/** * Filters the email to get Access key */ apply_filters( 'apbct_get_api_key_email', $admin_email ); -
/** * Hook. List of allowed user roles for the Dashboard widget. * add_filter('apbct_hook_dashboard_widget_allowed_roles_list', * function($roles_list) { $roles_list[] = 'editor'; return $roles_list; }); */ apply_filters( 'apbct_hook_dashboard_widget_allowed_roles_list', array('administrator') ); -
/** * Filter for the text of the decoding process */ apply_filters( 'apbct__ee_decoding_process_text', __('Please wait a few seconds while we decode the contact data.', 'cleantalk-spam-protect') ); -
/** * Filter for the text of the original email */ apply_filters( 'apbct__ee_original_email_text', __('The complete one is', 'cleantalk-spam-protect') ); -
/** * Filter for the text of the decoding process */ apply_filters( 'apbct__ee_wait_for_decoding_text', __('The magic is on the way!', 'cleantalk-spam-protect') ); -
/** * Triggered before returning the settings */ do_action( 'apbct_before_returning_settings', $incoming_settings ); -
apbct_csp_nonce
filter/** * Filter CSP nonce for CleanTalk inline scripts. */ apply_filters( 'apbct_csp_nonce', '' ); -
apbct_firewall_before_die
action/** * Use something like that to set a cookie before die (useful for cache 403 * errors). */ do_action( 'apbct_firewall_before_die', $result ); -
apbct_is_get_api_key
filter/** * Filters a getting Access key flag */ apply_filters( 'apbct_is_get_api_key', false ); -
apbct_template_save_to
filter/** * $blog_ids is an array of the IDs to apply settings for these blogs */ apply_filters( 'apbct_template_save_to', array() ); -
/** * Filters the items in the bulk actions menu of the list table. */ apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); -
/** * Adding common parent node for both products APBCT/SPBCT */ apply_filters( 'cleantalk_admin_bar__add_icon_to_parent_node', '' ); -
/** * Adding common parent node for both products APBCT/SPBCT */ apply_filters( 'cleantalk_admin_bar__parent_node__after', '' ); -
/** * Adding common parent node for both products APBCT/SPBCT */ apply_filters( 'cleantalk_admin_bar__parent_node__before', '' ); -
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 ); -
pre_months_dropdown_query
filter/** * Filters to short-circuit performing the months dropdown query. */ apply_filters( 'pre_months_dropdown_query', false, $post_type ); -
rest_url
filter/** * Filters the REST URL. */ apply_filters( 'rest_url', $url, $path, $blog_id, $scheme ); -
views_{$this->screen->id}
filter/** * Filters the list of available list table views. */ apply_filters( "views_{$this->screen->id}", $views ); -
apbct_skipped_request
actiondo_action( 'apbct_skipped_request', __FILE__ . ' -> ' . __FUNCTION__ . '():' . __LINE__ . '(' . apbct_is_skip_request(true) . ')', $_POST ); -
active_plugins
filterapply_filters( 'active_plugins', get_option('active_plugins') ); -
apbct__check_compatibility
actiondo_action( 'apbct__check_compatibility' ); -
apply_filters( 'apbct_email_encoder_attribute_exclusions_signs', $this->helper->getDefaultAttributeExclusionsSigns() ); -
apply_filters( 'apbct_email_encoder_content_exclusions_signs', $this->content_exclusions_signs ); -
apbct_pre_block_page
actiondo_action( 'apbct_pre_block_page', $ct_comment ); -
apply_filters( 'apbct_settings_action_buttons', array() ); -
apply_filters( 'apbct_sfw_update__check_requirements', apbct_sfw_update__check_requirements() ); -
apply_filters( 'apbct_skip_email_encoder_on_attribute_list', array() ); -
apply_filters( 'apbct_skip_email_encoder_on_uri_chunk_list', array() ); -
do_action( 'cleantalk_admin_bar__prepare_counters' ); -
upgrader_package_options
filterapply_filters( 'upgrader_package_options', $options );
Generated from Anti-Spam, Spam FireWall by CleanTalk'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: