From be6b9aa9a8d942caf3f76003ed9ef09fe5d872c5 Mon Sep 17 00:00:00 2001 From: leogermani Date: Mon, 22 Dec 2025 16:19:25 -0300 Subject: [PATCH] Make example workable use default category and remove input schema --- docs/getting-started.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index e9a3d22..158a633 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -110,12 +110,7 @@ function my_plugin_register_abilities() { wp_register_ability( 'my-plugin/get-site-title', array( 'label' => __( 'Get Site Title', 'my-plugin' ), 'description' => __( 'Retrieves the title of the current WordPress site.', 'my-plugin' ), - 'category' => 'site-info', - 'input_schema' => array( - 'type' => 'object', - 'properties' => array(), - 'additionalProperties' => false, - ), + 'category' => 'site', 'output_schema' => array( 'type' => 'string', 'description' => 'The site title.',