wp enqueue inline script due to dependancies
Is there a way to use wp_enqueue_script() for inline scripts? I’m doing this because my inline script depends on another script and i would like the flexibility of inserting it after it’s loaded. Also, It’s an inline script because i’m passing php variables into the javascript (like theme path, etc) Thanks in advance. 6 Well, … Read more