Revert the custom login URL to default in SiteGround Security

Revert the custom login URL to default in SiteGround Security on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_action( 'init', 'remove_custom_login_url' );
function remove_custom_login_url() {
    update_option( 'sg_security_login_type', 'default' );
}