30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List Snippet Updates

snippets/list-snippet-updates lists the snippets on this site that came from the library and have a newer version available upstream.

Nothing else on a WordPress site tells you this.

At a glance

Abilitysnippets/list-snippet-updates
ToolsetWPCode — toolset/wpcode
GroupWPCode › The Library
RequiresWPCode, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

A library snippet is copied onto the site at install time and then never changes. It is not a plugin: there is no update notice, no version badge, nothing in the updates screen. A fix published upstream — including a security fix — simply never arrives unless somebody goes looking.

This is the going-looking. Each row reports the local version and whether the snippet is currently active, which together are enough to judge the risk: an active snippet running a superseded version is a different situation from an inactive one nobody uses.

Pulling an update overwrites the local code completely, so any local edit is lost. That is why the update is a separate, confirmed call rather than something this listing offers to do for you.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
updatesarrayOne row per outdated snippet: local ID, title, local version and active state.
library_connectedbooleanWhether the site is signed in to the library.
connect_urlstringWhere to connect, when it is not.
countintegerHow many snippets are out of date.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Are any of our library snippets out of date?

It resolves to one call:

{
  "ability": "snippets/list-snippet-updates",
  "parameters": {}
}

Worth knowing

  • Library snippets never announce updates. This is the only way to find out.
  • An active outdated snippet is the one to look at first.
  • Updating overwrites local edits. Check whether the snippet was modified here.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading