• Resolved fabrmrz

    (@fabrmrz)


    Congrats on a great job with this plugin. I have the doubt if it is possible to edit the list of allowed IP to access the admin from FTP?. For example, like when you want to work outside the home and you are browsing with a different IP.

Viewing 1 replies (of 1 total)
  • Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @fabrmrz

    You can use the following code snippet:

    
    add_action( 'init', 'add_additional_ip' );
    function add_additional_ip() {
    	$allowed_ips = get_option( 'sg_login_access', array() );
    	$allowed_ips[] = YOUR IP HERE;	
        update_option( 'sg_login_access', $allowed_ips );
    }
    

    Regards,
    Stanimir

Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to edit the list of IP allowed to access from FTP?’ is closed to new replies.