Skip to content
Corex

CorexAbilities

Corex\Abilities\CorexAbilities · class · Core layer

The data behind the Corex WP 7.0 “abilities” — read-only views of what a Corex site exposes, for agent/MCP discovery. Pure: each method takes plain inputs and returns plain arrays (no WordPress), so the ability logic is unit-testable; the provider wraps these as execute_callbacks with the real registries.

The registered corex/* blocks as {name, title} rows.

siteInfo(string $siteName, string $version, int $corexBlockCount): array

Section titled “siteInfo(string $siteName, string $version, int $corexBlockCount): array”

A small read-only site/framework summary.