I tryed with publish_post and save_post, but it doesn’t work unless I put die; at the end of the code.
I’ve tryed so hard to stay out of the wordpress core code, and I really don’t want to have to because of this problem…
here’s my code :
Thanks for your help !
- The topic ‘Add JS when post is published’ is closed to new replies.