Hi Corey
So I would use this info here to unload S&F scripts:
https://searchandfilter.com/documentation/faq/#how-do-i-remove-cssjs-files-when-i-don8217t-need-them
But, do it conditionally.
I am guessing, perhaps, that you only use this URL for checking your events?
https://warf.greenleafmedia.com/events/
That is a post type archive, so we can exclude that using: https://developer.wordpress.org/reference/functions/is_post_type_archive/
So, overall the code should look like:
add_action('wp_enqueue_scripts', 'remove_sf_scripts', 100);
function remove_sf_scripts(){
if ( is_post_type_archive( 'tribe_events' ) ) {
wp_deregister_script( 'jquery-ui-datepicker' );
wp_deregister_script( 'search-filter-plugin-build' );
wp_deregister_script( 'search-filter-chosen-script' );
}
}
Let me know how you get on.
Thanks