Enqueue Script from pluginurl
-
Hi,
My wordpress install doesn’t use “wp-content” as I changed it to “uploads”
The problem now is that the javascript is enqueued from site url.
Is it possible to enqueue from pluginurl instead in next release?Thank you,
wp_enqueue_script( ‘anything-popup-js’, get_option(‘siteurl’).’/wp-content/plugins/anything-popup/anything-popup.js’);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Enqueue Script from pluginurl’ is closed to new replies.