Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add_action( 'tribe_events_pro_widget_render', 'tribe_events_pro_widget_render_func', 10, 3 );
function tribe_events_pro_widget_render_func( $class, $args, $instance ) {
if ( false !== strpos( $args['widget_id'], 'fl_builder_widget' ) ) {
Tribe__Events__Pro__Mini_Calendar::instance()->register_assets();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.