Preventing Function Running at Post Preview
I’m writing a function that runs when a post is saved in the Edit Post panel, hooked onto the
I’m having problems preventing the function running also when the Preview button is pressed. Can anyone tell me how to stop this happening? It doesn’t need to run at this point (when it does, it breaks my plugin), as long as it does run when the update/publish button is pressed.
- The topic ‘Preventing Function Running at Post Preview’ is closed to new replies.