Hooks::filter_tribe_shortcodes( array $shortcodes )

Add shortcodes for Pro.


Parameters

$shortcodes

(array) (Required) List of previous shortcodes.


Top ↑

Return

(array) The modified shortcodes array.


Top ↑

Source

File: src/Tribe/Views/V2/Shortcodes/Hooks.php

	public function filter_tribe_shortcodes( $shortcodes ) {
		$shortcodes['tribe_events']        = Tribe_Events::class;
		$shortcodes['tribe_events_list']   = Shortcode_Tribe_Events_List::class;
		$shortcodes['tribe_this_week']     = Shortcode_Tribe_Week::class;
		$shortcodes['tribe_mini_calendar'] = Shortcode_Tribe_Mini_Calendar::class;

		return $shortcodes;
	}

Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.