CDN-Linker icon indicating copy to clipboard operation
CDN-Linker copied to clipboard

Feat: Filter for adding global excludes

Open f13dev opened this issue 2 years ago • 0 comments

For WP multisites that include a large number of sites it is tedious adding new excludes to each and every site.

This allows new excludes to be added to every site with a few lines of code:

function cdn_linker_excludes($excludes) { $excludes[] = '.some-extension'; return $excludes; }

add_filter('cdn-linker-global-excludes', 'cdn_linker_excludes');

f13dev avatar Oct 20 '22 10:10 f13dev