---
title: "Disable enqueued plugins (JS, CSS)"
date: 2018-09-09
author: "nK"
---

# Disable enqueued plugins (JS, CSS)

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' );
```

FilterLibraryUsed by`vpf_enqueue_plugin_isotope`IsotopeTiles, Masonry, Grid, filtering`vpf_enqueue_plugin_flickr_justified_gallery`flickr-justified-galleryJustified`vpf_enqueue_plugin_swiper`SwiperSlider`vpf_enqueue_plugin_photoswipe`PhotoSwipe 4Lightbox`vpf_enqueue_plugin_fancybox`Fancybox 3Lightbox`vpf_enqueue_plugin_simplebar`SimpleBarCustom scrollbars`vpf_enqueue_plugin_lazysizes`lazysizesLazy loadingDisabling a library breaks the features that use it unless you provide the library yourself. Elementor sites already load Elementor’s own Swiper.