WordPress/directory
WordPress group

directory

4 operations, invoked through the wordpress_manage tool.

Search the public plugin and theme directory to find the slug to install.

Discover before you call: list_wordpress_operations lists the groups, get_wordpress_module(module) returns one group's parameters, and wordpress_manage(module, operation, params, service_id, installation_id) runs it. Operations marked confirm need confirm: true in the same call; operations marked async return a task_id you poll with sites.operation_status.

directory.plugin_info read#

Show details of one public-directory plugin by slug.

Returns name, slug, latest version, short description, author, rating, active install count, last update date and compatibility information for the plugin identified by slug. No hosting service is involved.

slugstringRequired
Plugin slug. (pattern ^[a-z0-9][a-z0-9_.-]{0,199}$)

Returns — inside the { ok, data, errors[], warnings[] } envelope, data is { name, slug, version, description, author, rating, active_installs, last_updated, requires_wp, tested_up_to, requires_php }.

directory.search_plugins read#

Search the public plugin directory by keyword.

Searches the public plugin directory for plugins matching a keyword and returns name, slug, latest version, a short description, rating and active install count for each. Use the slug with content.plugin_install. No hosting service is involved.

searchstringRequired
Keyword(s) to search for. (minLength 1, maxLength 100)
pageintegerOptional
Result page, 10 results per page. Defaults to 1. (min 1, max 50)

Returns — inside the { ok, data, errors[], warnings[] } envelope, data is { results: [ { name, slug, version, description, rating, active_installs, requires_wp, tested_up_to } ], page, pages, total }.

directory.search_themes read#

Search the public theme directory by keyword.

Searches the public theme directory for themes matching a keyword and returns name, slug, latest version, a short description and rating for each. Use the slug with content.theme_install. No hosting service is involved.

searchstringRequired
Keyword(s) to search for. (minLength 1, maxLength 100)
pageintegerOptional
Result page, 10 results per page. Defaults to 1. (min 1, max 50)

Returns — inside the { ok, data, errors[], warnings[] } envelope, data is { results: [ { name, slug, version, description, rating, active_installs, preview_url } ], page, pages, total }.

directory.theme_info read#

Show details of one public-directory theme by slug.

Returns name, slug, latest version, description, author, rating, active install count, preview URL, last update date and compatibility information for the theme identified by slug. No hosting service is involved.

slugstringRequired
Theme slug. (pattern ^[a-z0-9][a-z0-9_.-]{0,199}$)

Returns — inside the { ok, data, errors[], warnings[] } envelope, data is { name, slug, version, description, author, rating, active_installs, preview_url, last_updated, requires_wp, requires_php }.