Tribe__Events__REST__V1__Endpoints__Single_Organizer::READ_args()
Returns the content of the args array that should be used to register the endpoint with the register_rest_route function.
Return
(array)
Source
File: src/Tribe/REST/V1/Endpoints/Single_Organizer.php
public function READ_args() {
return array(
'id' => array(
'in' => 'path',
'type' => 'integer',
'description' => __( 'the organizer post ID', 'the-events-calendar' ),
'required' => true,
'validate_callback' => array( $this->validator, 'is_organizer_id' ),
),
);
}
Changelog
| Version | Description |
|---|---|
| bucket/full-rest-api | Introduced. |