Exlude external JS files and Inline scripts
-
Hi,
1. How can developers exclude certain files from their plugin?
plugin-folder/subfolder/main.js2. How to exclude external JS files?
https://3rdparty-site.com/external.js3. How to exclude a certain script that is added using
wp_add_inline_script
function from a plugin?Note: I need a programmatic solution like filters. I need it for plugin development.
If it is not possible, COuld you please consider adding support for it? Many of popular cache plugins are allowing other developers to use filters to exclude certain JS files.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Exlude external JS files and Inline scripts’ is closed to new replies.