Visual Portfolio loads a small set of vendor libraries, each behind its own filter. Return false from the filter to stop the plugin enqueueing that library, for example when your theme already ships it.
add_filter( 'vpf_enqueue_plugin_isotope', '__return_false' );
| Filter | Library | Used by |
|---|---|---|
vpf_enqueue_plugin_isotope | Isotope | Tiles, Masonry, Grid, filtering |
vpf_enqueue_plugin_flickr_justified_gallery | flickr-justified-gallery | Justified |
vpf_enqueue_plugin_swiper | Swiper | Slider |
vpf_enqueue_plugin_photoswipe | PhotoSwipe 4 | Lightbox |
vpf_enqueue_plugin_fancybox | Fancybox 3 | Lightbox |
vpf_enqueue_plugin_simplebar | SimpleBar | Custom scrollbars |
vpf_enqueue_plugin_lazysizes | lazysizes | Lazy loading |
Disabling a library breaks the features that use it unless you provide the library yourself. Elementor sites already load Elementor’s own Swiper.