Disable enqueued plugins (JS, CSS)

There are some plugins, enqueued with Visual Portfolio on your page. If you don’t like the plugin and/or want to change it to your alternate plugin, you can disable it using filters. Example:

<?php

add_filter( 'vpf_enqueue_plugin_isotope', '__return_false' );

Available filters:

  • vpf_enqueue_plugin_isotope
  • vpf_enqueue_plugin_flickr_justified_gallery
  • vpf_enqueue_plugin_object_fit_images
  • vpf_enqueue_plugin_photoswipe
  • vpf_enqueue_plugin_swiper
  • vpf_enqueue_plugin_lazysizes

Note: some functionality depends on these plugins and you may break the portfolio.

Was this page helpful?