Skip to content

Commit a343b9e

Browse files
gzioloaaronjorbin
andcommitted
Update src/wp-includes/abilities-api/class-wp-ability.php
Co-authored-by: Aaron Jorbin <[email protected]>
1 parent 2340186 commit a343b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/abilities-api/class-wp-ability.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public function __construct( string $name, array $args ) {
200200
* Receives optional mixed input and returns mixed result or WP_Error.
201201
* @type callable $permission_callback A callback function to check permissions before execution.
202202
* Receives optional mixed input and returns bool or WP_Error.
203-
* @type array<string, mixed> $input_schema Optional. JSON Schema definition for the ability's input.
203+
* @type array<string, mixed> $input_schema Optional. JSON Schema definition for the ability's input. Required if ability accepts an input.
204204
* @type array<string, mixed> $output_schema Optional. JSON Schema definition for the ability's output.
205205
* @type array<string, mixed> $meta {
206206
* Optional. Additional metadata for the ability.

0 commit comments

Comments
 (0)