• Resolved huusoku

    (@huusoku)


    Hello, Extended User here, and THANK YOU very much for this plugin. We really like it.

    I’m working on my own custom security script and would like to be able to use a native function such as apply_filters(‘wp_armour_block_ip’, $ip); to enable the use of wp_armour_block_ip($ip) or something like this where I can pass IPs directly into the WP Armour block list that is shown at /wp-admin/admin.php?page=wp-armour&tab=blocked_ips. It would follow to also have a function to remove an IP number such as wp_armour_unblock_ip($ip) so we may remove only just one IP from the block list.

    This would help us out a lot, thank you very much for considering adding this option!

    Regards,
    Huusoku

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dnesscarkey

    (@dnesscarkey)

    Hi @huusoku,

    Thank you so much for the suggestion. Actually, i really like the idea. I will try adding this hook in next release.

    Thanks

    Thread Starter huusoku

    (@huusoku)

    Thank you very much!!

    Plugin Support Dinesh Karki

    (@dcsupport)

    We have added option to disable the Jquery in our latest version. Please update to it.

    Thanks

    Thread Starter huusoku

    (@huusoku)

    Hello, I noticed in the recent release notes that the hook to unblock IP was added. Is there an online doc for this or how do we use it? Ie. What is/are the hooks? Alternatively, I could read through your code, but wanted to ask in case it’s been covered before. Thanks again!

    Plugin Support Dinesh Karki

    (@dcsupport)

    Hi,

    You can use like this

    do_action(‘wpae_block_ip_action’, ‘192.168.1.100’); to block IP

    do_action(‘wpae_unblock_ip_action’, ‘192.168.1.100’); to unblock IP

    Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.