Skip to main content

Action: self::SWITCHED_ACTION

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

Parameters​

NameTypeDescription
$recordsarrayOne entry per copy.
↳ $text_domainstringThe copy's text domain.
↳ $pathstringPlugin path.
↳ $versionstringThe copy's version.
↳ $deletedboolAlways false: files are deleted later, in a separate request.
↳ $network_wideboolWhether it was switched off for the whole network.
↳ $user_idintWho did it, or 0 from WP-CLI.
↳ $timeintUnix time.

Since​

  • TBD: TBD

Source​

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