Limited-time launch offer 20% off Pro — first payment and every renewal — with code See pricing

Module — 7 operations

Plugins & themes (Pro)

Activate, deactivate, switch theme, update and install — acting on the site’s own extensions, behind the same gates as everything else.

Needs: SiteHelm Pro on a licensed site.

Cue 2 — first light

Before you call anything here

Note 1

Activate, deactivate and theme-switch snapshot the state they replace and restore it through every forward guard, so a rollback refuses on the same grounds a forward call would. The updates and installs say plainly that they cannot be rolled back, because WordPress has no clean way back to an older version.

Note 2

Installing takes a WordPress.org slug and nothing else. There is no argument that accepts a URL, a zip or a file path, the only address ever fetched is the download link WordPress.org itself answers with, and what lands is stored deactivated — a theme is never made live by its install.

Note 3

A site that sets DISALLOW_FILE_MODS or DISALLOW_FILE_EDIT refuses the four file writes by name, and keeps the three that only flip an option.

Writes — 7

What it can change

Every one of these is previewed before it runs, snapshotted before it changes anything, and verified afterwards by reading the site back. The chips are the policies the operation itself declares.

plugin-activate

content-write

Switches one installed plugin on, snapshotting the state it replaces; refuses a plugin the network activated, because a single site does not own that decision

needs activate_plugins

write risk rollback supported
plugin-deactivate

content-write

Switches one plugin off, snapshotted and reversible, and refuses a network-activated plugin for the same reason

needs activate_plugins

write risk rollback supported
theme-switch

content-write

Makes a different installed theme the live one, recording the theme it replaced; the theme already live is refused rather than previewed as a change that moves nothing

needs switch_themes

write risk rollback supported
plugin-update

content-write

Updates one plugin to the version WordPress says is waiting, reporting the version it came from

needs update_plugins

write risk rollback notapplicable
theme-update

content-write

Updates one theme to the version WordPress says is waiting

needs update_themes

write risk rollback notapplicable
plugin-install

content-write

Installs a plugin from WordPress.org by its slug and stores it switched off

needs install_plugins

write risk rollback notapplicable
theme-install

content-write

Installs a theme from WordPress.org by its slug and does not make it live

needs install_themes

write risk rollback notapplicable
Cue 5 — day

Keep reading