apply_filters( "tribe-events-virtual-widgets-v2-{$view->get_slug()}-should-enqueue-assets", boolean $should_enqueue, Tribe__Context $context, TribeEventsVirtualViewsV2WidgetsView_Interface $view )

Allows filtering of Whether assets (virtual icon styles) should be enqueued or not, per widget slug.


Parameters

$should_enqueue

(boolean) Whether assets are enqueued or not.

$context

(Tribe__Context) Context we are using to build the view.

$view

(TribeEventsVirtualViewsV2WidgetsView_Interface) Which view we are using the template on.


Top ↑

Source

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


Top ↑

Changelog

Changelog
Version Description
1.1.5 Introduced.