Hooks::filter_tribe_shortcodes( array $shortcodes )
Add shortcodes for Pro.
Contents
Parameters
- $shortcodes
-
(array) (Required) List of previous shortcodes.
Return
(array) The modified shortcodes array.
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;
}
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |