``` remove_action('template_redirect','wp_redirect_admin_locations',9999); ```