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' );
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.