Discover plugin abilities
discover_abilitiesList WordPress plugin abilities registered via the Abilities API to safely execute plugin operations with validation and hooks intact.
Instructions
List the abilities registered on the site through the WordPress Abilities API — capabilities that plugins such as WPForms, AIOSEO or SeedProd expose for programmatic use. Running a plugin's own ability is always safer than writing to its tables directly, because the plugin's validation, hooks and cache invalidation still run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Filter abilities by name or description. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. |