Loading too many javascripts (wp_enqueue_media)
-
Hi,
In the plugin, you call wp_enqueue_media() which loads a suite of scripts and styles.
It look like you may only need one script for this plugin.
Can you replace wp_enqueue_media() with wp_enqueue_script(‘media-models’)?
This looks like the only script needed.
Thank You!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Loading too many javascripts (wp_enqueue_media)’ is closed to new replies.