---
title: Filters and hooks
canonical: https://wpsecurityninja.com/docs/filters-hooks/
---
Use these filters and hooks to whitelist IPs, trim visitor logs, and extend firewall or scanner behavior.

Browse the articles below when you need a specific hook name or example.

*   ### [securityninja_whitelist filter](https://wpsecurityninja.com/docs/filters-hooks/securityninja_whitelist/)
    
*   ### [Filter - user_agent_items](https://wpsecurityninja.com/docs/filters-hooks/filter-user_agent_items/)
    
*   ### [Filter - securityninja_visitorlog_filter_url](https://wpsecurityninja.com/docs/filters-hooks/filter-securityninja_visitorlog_filter_url/)

*   ### [Filter - blocked_hosts_items](https://wpsecurityninja.com/docs/filters-hooks/filter-blocked_hosts_items/)

*   ### [Filter secnin_cf_check_blocked_hosts](https://wpsecurityninja.com/docs/filters-hooks/secnin_cf_check_blocked_hosts/)

*   ### [Filter wf_sn_client_ip](https://wpsecurityninja.com/docs/filters-hooks/wf_sn_client_ip/)

*   ### [Filter wf_sn_trusted_proxy_cidrs](https://wpsecurityninja.com/docs/filters-hooks/wf_sn_trusted_proxy_cidrs/)

*   ### [securityninja_ignored_file_extensions](https://wpsecurityninja.com/docs/filters-hooks/securityninja_ignored_file_extensions/)

*   ### [Customizing Firewall Filter Rules](https://wpsecurityninja.com/docs/filters-hooks/customizing-firewall-filter-rules/)

*   ### [secnin_show_woocommerce_login_message](https://wpsecurityninja.com/docs/filters-hooks/secnin_show_woocommerce_login_message/)
    
*   ### [Filter. securityninja_social_crawler_user_agents](https://wpsecurityninja.com/docs/filters-hooks/filter-securityninja_social_crawler_user_agents/)
    
*   ### [securityninja_temporary_login_params](https://wpsecurityninja.com/docs/filters-hooks/securityninja_temporary_login_params/)
    
*   ### [securityninja_is_temporary_login_link](https://wpsecurityninja.com/docs/filters-hooks/securityninja_is_temporary_login_link/)
    
*   ### [securityninja_malware_exclude_paths](https://wpsecurityninja.com/docs/filters-hooks/securityninja_malware_exclude_paths/)
    
*   ### [securityninja_malware_scannable_extensions](https://wpsecurityninja.com/docs/filters-hooks/securityninja_malware_scannable_extensions/)
