Whitelist unclear to me
-
Is there someone willing to explain the whitelist functionality listed in the faq?
function my_ip_whitelist($allow, $ip) { return ($ip == ‘my-ip’) ? true : $allow; } add_filter(‘limit_login_whitelist_ip’, ‘my_ip_whitelist’, 10, 2);
I have no clue what the 10 and 2 flags are for. I assume I should replace “my_ip_whitelist” with my ip?
Thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Whitelist unclear to me’ is closed to new replies.