My current code is:
wp_enqueue_style( 'script-css', plugins_url( 'script/myscript.js', __FILE__ ));
My goal:
Instead of loading the file from the plugins directory, I want to download the script file from http://mycloudfronturl.net/myscript.js
But for some reason I was messing around with quotes or when replacing plugins_url. I am not hard php coder code, so can someone tell me what to do, please?
source
share