WP_REST_Abilities_V1_Run_Controller::get_run_args(): array<string,

In this article

Retrieves the arguments for ability execution endpoint.

Return

array<string, mixed> Arguments for the run endpoint.

Source

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,
		),
	);
}

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.