How do I get the JavaScript optimized file name?
-
I am creating a plugin that adds link[rel=preload] for scripts.
His behavior is very simple:
It reads aglobal $wp_scriptsvariable, defines all enqueued files and displays the link[rel=preload] of each of them.I want to implement compatibility with your plugin. To do this, I need to somehow determine which files from the attached your plugin replaced, and the URL to the optimized file to add link[rel=preload] for them.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘How do I get the JavaScript optimized file name?’ is closed to new replies.