Tribe__Events__REST__V1__Endpoints__Single_Organizer_Slug::READ_args()
Provides the content of the args array to register the endpoint support for GET requests.
Return
(array)
Source
File: src/Tribe/REST/V1/Endpoints/Single_Organizer_Slug.php
public function READ_args() {
return array(
'slug' => array(
'in' => 'path',
'type' => 'string',
'description' => __( 'the organizer post name', 'the-events-calendar' ),
'required' => true,
'validate_callback' => array( $this->validator, 'is_organizer_slug' ),
),
);
}