---
id: selfSWITCHED_ACTION
title: "Action - self::SWITCHED_ACTION"
sidebar_label: "self::SWITCHED_ACTION"
---

# Action: self::SWITCHED_ACTION

Fires after standalone copies were switched off in favor of the bundled copy.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $records | `array` | One entry per copy. |
| ↳ $text_domain | `string` | The copy's text domain. |
| ↳ $path | `string` | Plugin path. |
| ↳ $version | `string` | The copy's version. |
| ↳ $deleted | `bool` | Always false: files are deleted later, in a separate request. |
| ↳ $network_wide | `bool` | Whether it was switched off for the whole network. |
| ↳ $user_id | `int` | Who did it, or 0 from WP-CLI. |
| ↳ $time | `int` | Unix time. |

### Since

- TBD: TBD

### Source

Defined in `Licenses/Editions/BundledSwitch.php` at line 382

