• Hello, how do you execute JS inside a plugin? Do you call it from an external file? And if yes how? I cannot find any resource on WP.org or elsewhere…
    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter mariostella

    (@mariostella)

    I forgot to specify:
    This is for a google map, so I need to call an external javascript file (which can be echoed or can be done using wp_enqueue_script), but I also need to write a piece of javascript and execute it on the post write/edit page.

Viewing 1 replies (of 1 total)
  • The topic ‘How to execute javascript in plugin?’ is closed to new replies.