Tribe__Events__Pro__Main::filter_add_base_slugs( array $bases = array() )

Add the required bases for the Pro Views


Parameters

$bases

(array) (Optional) Bases that are already set

Default value: array()


Top ↑

Return

(array) The modified version of the array of bases


Top ↑

Source

File: src/Tribe/Main.php

		public function filter_add_base_slugs( $bases = array() ) {
			// Support the original and translated forms for added robustness
			$bases['all'] = array( 'all', $this->all_slug );
			$bases['week']  = array( 'week', $this->weekSlug );
			$bases['photo'] = array( 'photo', $this->photoSlug );

			return $bases;
		}