Tribe__Tickets__Tickets_View::add_rewrite_base_slug( array $bases = array() )

To allow tickets to be translatable we need to add it as a base.


Parameters

$bases

(array) (Optional) The translatable bases.

Default value: array()


Top ↑

Return

(array)


Top ↑

Source

File: src/Tribe/Tickets_View.php

	public function add_rewrite_base_slug( $bases = array() ) {
		/**
		 * Allows users to filter and change the base for the order page
		 *
		 * @param string $slug
		 * @param array  $bases
		 */
		$bases['tickets'] = (array) apply_filters( 'event_tickets_rewrite_slug_orders_page', 'tickets', $bases );

		return $bases;
	}