Tribe__Tickets__REST__V1__Endpoints__Single_Attendee::EDIT_args()

Returns the content of the args array that should be used to register the endpoint with the register_rest_route function.


Return

(array) Array of supported arguments for the edit endpoint.


Top ↑

Source

File: src/Tribe/REST/V1/Endpoints/Single_Attendee.php

	public function EDIT_args() {
		$args = [
			'id' => [
				'type'              => 'integer',
				'in'                => 'path',
				'description'       => __( 'The attendee post ID', 'event-tickets' ),
				'required'          => true,
			],
		];

		/**
		 * Filters the supported args for the edit endpoint.
		 *
		 * @since 5.3.2
		 *
		 * @param array $args Supported list of arguments.
		 */
		return apply_filters( 'tribe_ticket_rest_api_edit_attendee_args', $args );
	}

Top ↑

Changelog

Changelog
Version Description
5.3.2 Introduced.