WP_REST_Abilities_V1_Run_Controller::get_run_args
Retrieves the arguments for ability execution endpoint.
Метод класса: WP_REST_Abilities_V1_Run_Controller{}
Хуков нет.
Возвращает
Массив<Строку,. mixed> Arguments for the run endpoint.
Использование
$WP_REST_Abilities_V1_Run_Controller = new WP_REST_Abilities_V1_Run_Controller(); $WP_REST_Abilities_V1_Run_Controller->get_run_args(): array;
Список изменений
| С версии 6.9.0 | Введена. |
Код WP_REST_Abilities_V1_Run_Controller::get_run_args() WP REST Abilities V1 Run Controller::get run args WP 7.0.4
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,
),
);
}