Titan Anti-spam & Security 7.5.6 has 13 actions and 20 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 Titan Anti-spam & Security fires an action
add_action( 'login_enqueue_scripts', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Titan Anti-spam & Security is about to use
add_filter( 'login_body_class', function( $classes, $action ) {
// Change $classes here.
return $classes;
}, 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
-
login_body_class
filter/** * Filters the login page body classes. */ apply_filters( 'login_body_class', $classes, $action ); -
login_enqueue_scripts
action/** * Enqueue scripts and styles for the login page. */ do_action( 'login_enqueue_scripts' ); -
login_errors
filter/** * Filters the error messages displayed above the login form. */ apply_filters( 'login_errors', $errors ); -
login_head
action/** * Fires in the login page header after scripts are enqueued. */ do_action( 'login_head' ); -
login_header
action/** * Fires in the login page header after the body tag is opened. */ do_action( 'login_header' ); -
login_headertitle
filter/** * Filters the title attribute of the header logo above login form. */ apply_filters( 'login_headertitle', $login_header_title ); -
login_headerurl
filter/** * Filters link URL of the header logo above login form. */ apply_filters( 'login_headerurl', $login_header_url ); -
login_message
filter/** * Filters the message to display above the login form. */ apply_filters( 'login_message', $message ); -
login_messages
filter/** * Filters instructional messages displayed above the login form. */ apply_filters( 'login_messages', $messages ); -
shake_error_codes
filter/** * Filters the error codes array for shaking the login form. */ apply_filters( 'shake_error_codes', $shake_error_codes ); -
/** * Fires when the Login Interstitial framework is initialized. */ do_action( 'titan_login_interstitial_init', $this ); -
/** * Fires when the login interstitial initializes the Same Browser API for async * actions. */ do_action( 'titan_login_interstitial_initialize_same_browser', $session ); -
/** * Fires when a user is re-logged back in after submitting an interstitial. */ do_action( 'titan_login_interstitial_logged_in', $user ); -
/** * Retrieve a human readable description as to why a password change has been * required for the current user. */ apply_filters( "titan_password_change_requirement_description_for_{$reason}", $message, $user ); -
/** * Fires when password requirements should be registered. */ do_action( 'titan_register_password_requirements' ); -
titan_spam_cron_interval
filter/** * Filters the recurring interval (in seconds) for Titan's spam batch cron * jobs. */ apply_filters( 'titan_spam_cron_interval', 30 * MINUTE_IN_SECONDS ); -
titan_validate_password
action/** * Fires when modules should validate a password according to their rules. */ do_action( 'titan_validate_password', $error, $user, $new_password, $args ); -
product_titan_license_key
filterapply_filters( 'product_titan_license_key', 'free' ); -
product_titan_license_status
filterapply_filters( 'product_titan_license_status', false ); -
login_redirect
filterapply_filters( 'login_redirect', $redirect_to, $requested, $user ); -
apply_filters( "product_{WTITAN_PLUGIN_NAMESPACE}_license_key", '' ); -
product_titan_license_plan
filterapply_filters( 'product_titan_license_plan', 0 ); -
themeisle_internal_page
actiondo_action( 'themeisle_internal_page', WTITAN_PLUGIN_SLUG, 'dashboard' ); -
apply_filters( 'themeisle_sdk_license_process_titan', $key, $action ); -
themeisle_sdk_secret_masking
filterapply_filters( 'themeisle_sdk_secret_masking', apply_filters( 'product_' . WTITAN_PLUGIN_NAMESPACE . '_license_key', '' ) ); -
apply_filters( 'titan_limit_login_blacklist_ip', false, $ip ); -
apply_filters( 'titan_limit_login_blacklist_usernames', false, $username ); -
apply_filters( 'titan_limit_login_whitelist_ip', false, $ip ); -
apply_filters( 'titan_limit_login_whitelist_usernames', false, $username ); -
do_action( 'titan_login_interstitial_async_action_confirmation_before_confirm', $session, $action ); -
do_action( 'titan_password_requirements_change_form', $user ); -
wp_login
actiondo_action( 'wp_login', $user->user_login, $user );
Generated from Titan Anti-spam & Security'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: