Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 32871

"HTTP Redirection" – the process by which a request for one URL is automatically replaced by a request for a different, usually related, URL.

1 vote
2 answers
5k views

how can I link to a PlugIn admin-sub-menu page after processing a formular

In one page is a formular (in one some text and in one a list of items). when I submit the form, there will be done some processing. after that I don't want to get back to the form-page, but WP shell redirect … manage_options', 'mg-pi-sub-list', 'mg_list'); add_submenu_page( 'mg-pi', 'create', '0', 'manage_options', 'mg-pi-sub-create', 'mg_new_item'); so in mg_new_item() is the processing and then it shell redirect
helle's user avatar
  • 318
1 vote
Accepted

how can I link to a PlugIn admin-sub-menu page after processing a formular

Well after some more research I fond what I was actually looking for. Not for a workaround but for a wordpress compatible way. There is a function called: menu_page_url which expects the defined slug …
helle's user avatar
  • 318