Tutorials

Get Expert Website Hosting

Choose website reliability and expertise with SiteGround!

Home / SiteGround's AI Agent for WordPress tutorials / Run core, plugin, and theme updates with the AI Agent for WordPress

Run core, plugin, and theme updates with the AI Agent for WordPress

Summarize this article with:
Last update: Oct 27, 2026 • 7 min read

Use the AI Agent for WordPress to check, and apply core, plugin, and theme updates from one prompt, on a single site or across every connected WordPress site.

The AI Agent for WordPress turns site maintenance into conversation. Instead of clicking through WP Admin on each site, you ask the agent to scan for pending updates, and run plugin, theme, or core updates one at a time, in bulk, or across every connected WordPress site. The same chat handles plugin audits, install and remove operations, and post-update verification, so a routine that used to span tabs fits a single prompt.

What you’ll learn

  • Check pending updates across one site or every connected WordPress site in seconds
  • Update plugins, themes, and WordPress core individually or in bulk
  • Run a full plugin audit that surfaces outdated, deactivated, or unused plugins
  • Install and remove plugins and themes from chat without leaving the agent
  • Push the same update sequence to every connected site in one go

Before you start: prerequisites and when this won’t work

The agent only acts on sites it can reach through SiteGround AI Studio. Confirm these prerequisites before sending your first update prompt.

  • A SiteGround AI Studio account.
  • The AI Agent by SiteGround plugin installed and activated on each WordPress site you want the agent to manage, with the site successfully connected to your AI Studio workspace.
  • Admin-level access on each connected site. The agent inherits the permissions of the account it’s tied to.

When this tutorial won’t work for you:

  • WordPress sites that aren’t connected to AI Studio. Install and activate the AI Agent by SiteGround plugin first, then complete the connection from inside AI Studio.
  • Custom-coded or commercial plugins that don’t expose an update channel to WordPress. The agent can list them but can’t push an update where no update exists.
  • WordPress multisite networks (subdomain or subdirectory) may behave differently from single-site installs.
  • Workflows that require every change to flow through Git or a staging environment. The agent applies updates directly to the connected site.

Once your sites are connected, the agent is ready to act on plain-English prompts. The next section maps the most common maintenance tasks to the kind of prompt that gets a clean answer.

Quick overview: which prompt does what

You don’t need to memorize commands. The agent parses natural language. The table below shows the prompt shape for each of the workflows covered in the rest of this tutorial.

Task Sample prompt pattern What you get back
Check pending updates “What plugins, themes, and core updates are pending on [site]?” A grouped list with version numbers and release dates
Update in one step “Update all plugins” Backup confirmation, then update results
Single plugin update “Update WooCommerce on [site] to the latest version” Pre-update version, post-update version, status
Plugin audit “List every plugin on [site] with status and last update date” Full inventory with active/inactive flags
Multi-site update “Update all plugins on every connected site” Per-site results with successes and failures

Each step below shows the prompt, the expected response shape, and how to verify the agent did what you asked.

Step 1: Check what needs updating

Start every maintenance session with a scan. The agent reads the WordPress update API and returns what’s pending without touching anything on the site.

Prompt:

What plugins, themes, and WordPress core updates are pending on [site name]?

The agent returns a grouped list: pending core version, pending plugin updates with current and target versions, and pending theme updates. Ask for more detail on any item by name, for example “Show me the changelog for the WooCommerce update,” or “Is the WordPress 6.x update a major or minor release?”

Step 2: Update plugins safely with AI

Plugin updates are where most WordPress sites break, and where the agent saves the most time. You can run a single update, a chosen subset, or every pending update from one prompt.

Single plugin:

Update WooCommerce on [site name] to the latest version, after creating a backup.

Multiple specific plugins:

Update Yoast SEO, WooCommerce, and Contact Form 7. Skip any that fail compatibility checks.

All pending plugin updates:

Update all plugins with pending updates. Report each one with before and after versions.

The agent runs updates sequentially and reports per-plugin status. If one fails, the others still proceed unless you tell it to halt on the first failure. For revenue-critical plugins (WooCommerce, payment gateways, membership systems, booking engines), update them one at a time so you can test the site between each.

Step 3: Update WordPress themes with AI

Themes follow the same prompt pattern as plugins, with one extra consideration: a parent-theme update can override changes you made directly to theme files. If you’re already using a child theme, this risk drops sharply.

Active theme only:

Update the active theme on [site name].

All themes (active and inactive):

Update every installed theme.

Step 5: Update WordPress core with built-in compatibility checks

Core updates come in two flavors. Minor updates (for example, 6.4.2 to 6.4.3) ship security and bug fixes. They carry low risk and are recommended immediately. Major updates (for example, 6.4 to 6.5) ship new features and can change how plugins and themes interact with WordPress.

For a minor update:

Update WordPress core to the latest minor release on [site name].

For a major update with a compatibility check:

Check whether all my active plugins and the active theme are compatible with WordPress [target version] on [site name]. List anything that isn’t, then stop.

If the compatibility list comes back clean, follow up with “Run the WordPress core update.” If it doesn’t, address the incompatible plugins or themes first by waiting for an update from the developer, finding an alternative, or testing the impact in a staging copy of the site.

Order matters. Update plugins and the active theme first, then run the core update. This sequence reduces the chance of an older plugin throwing PHP errors against newer core code.

Step 6: Run a full plugin audit

Updates are only half of WordPress maintenance. The other half is knowing what’s actually installed. Old, deactivated, and abandoned plugins are a security liability even when they’re not running, and they accumulate quietly over the life of a site.

Full plugin inventory:

List every plugin installed on [site name]. For each one, show: status (active/inactive), current version, latest available version, and last update date from the WordPress.org repository.

The agent returns a structured list, typically as a table, that surfaces three patterns worth acting on.

  • Deactivated plugins. If you haven’t activated a plugin in months, delete it. Inactive plugins still receive file-level updates and are still scanned by attackers.
  • Outdated plugins with no recent releases. A plugin that hasn’t been updated by its developer in over a year is a red flag. Ask “Which plugins on [site name] haven’t been updated in more than 12 months?”
  • Duplicate functionality. Two caching plugins, two SEO plugins, two backup plugins: pick one and remove the others.

For sites with many plugins, narrow the scope: “Show me only deactivated plugins on [site name],” or “Show me only plugins from authors that are no longer active on WordPress.org.”

Step 7: Install and remove plugins or themes

The same chat that updates and audits also handles installation and removal. The prompts are direct.

Install a plugin:

Install the WP Mail SMTP plugin on [site name] and activate it.

Remove a plugin:

Deactivate and delete the Hello Dolly plugin on [site name]. Remove all associated database entries.

Install a theme:

Install the Twenty Twenty-Five theme on [site name], but don’t activate it.

The database-cleanup clause matters on removal. Many plugins leave settings, custom tables, and post meta behind when uninstalled. Adding “remove all associated database entries” tells the agent to clean those up where the plugin exposes an uninstall hook.

Removing plugins requires Power Mode. Always back up before removing a plugin that controls visible site behavior such as page builders, ecommerce, or membership systems. See Permissions, Power Mode, and safety controls for how to enable it and what it covers.”

Step 8: Manage WordPress updates across multiple sites

The patterns above scale. If you manage 5, 20, or 100 WordPress sites connected to AI Studio, the same prompts work across every site when you change the scope from one site to all of them. If you haven’t connected all your sites yet, see how to connect AI Studio with WordPress to get them linked before running cross-site updates.

Check pending updates everywhere:

Across every connected site, list pending plugin, theme, and core updates. Group results by site.

Update plugins on every site:

For each connected site, create a backup, then update all plugins. Report per-site results in a table.

Update a specific plugin on every site that has it installed:

Find every connected site that has Yoast SEO installed. Update Yoast SEO. Skip sites where the plugin is already up to date.

Update with exclusions:

Update all plugins on every connected site, except [site-a.com] and [site-b.com]. Those two are mid-launch, so leave them alone.

Set expectations for runtime: a sequential pass across 30 sites with a backup before each update can take 20 minutes or longer depending on site size.

Common mistakes and how to avoid them

Updating without a backup

The single most expensive mistake, and the easiest to fix. Even if your host runs automatic daily backups, a manual snapshot taken seconds before the update gives you a tighter rollback target than yesterday’s overnight copy.

Bulk-updating revenue-critical plugins

WooCommerce, payment gateways, membership systems, and booking engines should be updated one at a time on production sites. A bulk update that breaks checkout costs you orders for as long as the issue persists. Update these in a staging environment first, then promote.

Running major core updates without a compatibility check

Major WordPress releases occasionally drop support for older plugins or PHP versions. Run the compatibility-check prompt from Step 5 before pulling the trigger on any major core update.

Ignoring deactivated plugins

A deactivated plugin is still on the file system. Old, unmaintained code sitting in wp-content/plugins/ is one of the most common malware entry points on WordPress sites. Use the audit from Step 6 quarterly and delete what you don’t actively use.

Closing the chat before a multi-site run finishes

Multi-site update runs can take 20 minutes or more on large portfolios. Don’t close the session until you see the per-site summary, so you know which sites need follow-up attention.


Frequently asked questions

Can the AI Agent for WordPress update plugins on all my sites at once?

Yes. Use a multi-site scoped prompt, for example “For every connected site, review and update all plugins,” and the agent runs the same sequence across every WordPress site connected to your AI Studio workspace. Results come back grouped per site so you can see which updates succeeded, which failed, and which were skipped.

What happens if a plugin update breaks my site after the agent runs it?

If you used the combined backup-and-update pattern, ask the agent to roll back: “Restore the backup created before the last update.” The restore brings the site back to the pre-update state in minutes. Without a manual snapshot taken right before the update, you’d have to rely on whatever automated backup is most recent, which could be hours older.

Can I tell the agent to skip certain plugins or sites?

Yes. Add an exclusion clause to the prompt: “Update all plugins except WooCommerce and Yoast SEO,” or “Update plugins on every connected site except [site-a.com] and [site-b.com].” The agent respects exclusions on both single-site and multi-site runs.

How do I find out which plugins are deactivated on my WordPress site?

Ask: “List all deactivated plugins on [site name] with the date they were last activated.” The agent returns a filtered list. From there, decide which to delete. Anything you haven’t activated in 6 or more months is usually safe to remove after a backup.

Does every WordPress site need the AI Agent by SiteGround plugin installed?

Yes. The AI Agent plugin is what connects each WordPress site to your AI Studio workspace. Without it installed and activated, the agent has no way to act on the site. Install and activate the plugin on each site you want to manage, then complete the connection from inside AI Studio.

Share this article

Found this article useful?

Add SiteGround to your preferred Google sources