Set Boost module status is a WordPress ability from Jetpack Boost — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Set Boost module status

Write
Jetpack Boost Backup & Site Management jetpack-boost/set-module-status

Enable or disable a single Jetpack Boost module by slug.

Requires the Jetpack Boost plugin on WordPress 6.9+. All four abilities require the current user to be logged in and hold the 'manage_options' capability — Boost has no abilities-specific capability of its own and mirrors the permission model used by its REST API and admin screens.

What it does

This ability toggles one Jetpack Boost module on or off given its slug and a desired boolean active state, returning the resulting slug, active state, and a changed flag. It is idempotent: setting a module to its current state returns changed=false without side effects. An unknown slug returns a jetpack_boost_invalid_slug error, a module unavailable on the site (e.g. requiring a connection or paid plan) returns jetpack_boost_module_unavailable, and an always-on module cannot be disabled and returns jetpack_boost_module_always_on. Toggling a parent module also drives its submodules' lifecycle through the same status-update action Boost's own UI uses.

See it in action

You ask your AI assistant

"Turn on the Critical CSS module in Jetpack Boost."

Inputs

Name Type Required Description
slug string Yes Module slug to toggle (e.g. "critical_css", "page_cache").
active boolean Yes Desired state: true to enable, false to disable.

Returns

An object with the module slug, its resulting active state, and a changed boolean indicating whether the state actually changed.

Permission

The current user must be logged in and have the 'manage_options' capability.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.