asset pull opt out for specific files

[ad_1]

Hi @futureyoon,

When testing whether an asset should be rewritten or not, we run the following filter that you could hook into…


/**
 * @param bool        $rewrite Should the src be rewritten?
 * @param string      $src     The asset URL to be rewritten.
 * @param string|null $handle  The asset's registered handle in the WordPress enqueue system.
 */
return apply_filters( 'as3cf_assets_should_rewrite_src', $rewrite, $src, $handle );

-IJ

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer