[wp-hackers] Changing post "redirect" after save

Hannit Cohen hannit at codeart.co.il
Wed Feb 29 12:14:57 UTC 2012

I'm developing a custom plugin for a client.
The plugin has CTP of question that includes the answer as a metadata.
The question is plublished using a public form and wp_insert_post while the
actual site authors can answer it (edit the proper field)

One of the requirements is that once an author answered a question, he will
be redirected to the next 'unanswered' question.
So I need a way change the redirection 'target' of 'save_post' after
everything was saved...

Any idea ?


More information about the wp-hackers mailing list