POST and redirect in Wordpress

Posted by agh on Stack Overflow See other posts from Stack Overflow or by agh
Published on 2012-12-18T11:01:39Z Indexed on 2012/12/18 11:02 UTC
Read the original article Hit count: 137

Filed under:
|

With Wordpress based function:

$response = wp_remote_post()

I can POST data and retrieve the body of the POST page in $response->body

But how can I POST and redirect the user to the post page?

It's not an option to create Form page and Submit button because I'm trying to create a plugin for Group buying plugin in Wordpress.

It is also not an option to use GET, because the "destination" POST page will not allow data in the URL.

Please help me !

© Stack Overflow or respective owner

Related posts about php

Related posts about wordpress-plugin