• Resolved jasom

    (@jasom)


    Hi, first of all, great job with this astonishing plugin.

    My question is how can I add custom add_action after WordFence bans an IP address. Is it possible something like:

    
    add_action('wordfence_new_ban_action_name', 'my_action_name');
    
    function my_action_name($banned_ip) {
    echo $banned_ip
     // code
    }
    

    I goal is to feed fail2ban jail with malicious IP address to protect rest of the server.

Viewing 1 replies (of 1 total)
  • Plugin Support WFAdam

    (@wfadam)

    Hello @jasom and thanks for reaching out to us!

    I have never tested something like this but I would assume it might not work. Have you tested out any code yet? If you do find something, let me know!

    I will also reach out to our QA team once the holiday break is over.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom action after WordFence bans IP address’ is closed to new replies.