WP_REST_Abilities_V1_Run_Controller::get_run_args
Retrieves the arguments for ability execution endpoint.
Method of the class: WP_REST_Abilities_V1_Run_Controller{}
No Hooks.
Returns
Array
Usage
$WP_REST_Abilities_V1_Run_Controller = new WP_REST_Abilities_V1_Run_Controller(); $WP_REST_Abilities_V1_Run_Controller->get_run_args(): array;
Changelog
| Since 6.9.0 | Introduced. |
WP_REST_Abilities_V1_Run_Controller::get_run_args() WP REST Abilities V1 Run Controller::get run args code WP 6.9
public function get_run_args(): array {
return array(
'input' => array(
'description' => __( 'Input parameters for the ability execution.' ),
'type' => array( 'integer', 'number', 'boolean', 'string', 'array', 'object', 'null' ),
'default' => null,
),
);
}