Viewing 1 replies (of 1 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Hi,

    Simply add it to the array just like an IPv4.
    For instance:

    $ip_array = array( '1.1.1.1' , '2001:4998:c:a06::2:4008' );
    if ( in_array( $_SERVER["REMOTE_ADDR"], $ip_array ) ) {
       return 'ALLOW';
    }
Viewing 1 replies (of 1 total)

The topic ‘.htninja question’ is closed to new replies.