Assets::should_load_widget_styles()
Verifies if we should load widget icon styles.
Return
(boolean) If the icon styles should load.
Source
File: src/Tribe/Assets.php
public function should_load_widget_styles() {
$should_enqueue = false;
/**
* Allow filtering of where the widget assets will be loaded.
*
* @since 1.4.0
*
* @param bool $should_enqueue Whether the widget assets should be enqueued or not.
*/
$should_enqueue = apply_filters( 'tribe_events_virtual_assets_should_enqueue_widget_styles', $should_enqueue );
return $should_enqueue;
}
Changelog
| Version | Description |
|---|---|
| 1.4.0 | Introduced. |