Tribe__Events__Pro__Main::filter_add_base_slugs( array $bases = array() )
Add the required bases for the Pro Views
Contents
Parameters
- $bases
-
(array) (Optional) Bases that are already set
Default value: array()
Return
(array) The modified version of the array of bases
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; }