[wp-hackers] Changing post "redirect" after save
jw at jacksonwhelan.com
Wed Feb 29 13:19:18 UTC 2012
On 2/29/12 7:14 AM, Hannit Cohen wrote:
> 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 ?
Check out the 'redirect_post_location' filter.
You can see it in action at line 75 in /wp-admin/post.php
Hope that helps.
More information about the wp-hackers