Hooks::alter_shortcode_month_widget_class( string $widget_class, TribeEventsProViewsV2Widgetsarray $arguments )

Swaps in the new Featured Venue V2 widget for the old one in the widget shortcode.


Parameters

$widget_class

(string) (Required) The widget class name we're currently implementing.

$arguments

(<span class="TribeEventsProViewsV2Widgetsarray">TribeEventsProViewsV2Widgetsarray) (Required) The widget arguments.


Top ↑

Return

(string) $widget_class The modified (V2) widget class name we want to implement.


Top ↑

Source

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

	public function alter_shortcode_month_widget_class( $widget_class, $arguments ) {
		return Widget_Month::class;
	}

Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.