Restore login access in SiteGround Security

Restore login access in SiteGround Security on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_action( 'init', 'remove_login_access_data' );
function remove_login_access_data() {
    update_option( 'sg_login_access', array() );
}