I did a search and found this method here using wp_add_inline_script. And it works. But what if I wanted to keep my initialization script into an other .js file? That’s what I wanted at first. How I …
I did a search and found this method here using wp_add_inline_script. And it works. But what if I wanted to keep my initialization script into an other .js file? That’s what I wanted at first. How I …