I am writing a WordPress plugin
I create a redirect (POST data, etc.) to create DB records After ...) I want to do on the other admin page.
Neither header ("Location: ...) nor Wp_redirect () work - I can not find
Warning: header information can not be modified - Headers who first
that comes from the obvious reason.
How do I properly redirect a WordPress one?
On your form action, add 'noheader = true' to the action URL, this will prevent the header of the admin area from being output before your redirects. For example:
Comments
Post a Comment