Is it possible to redirect users to an admin page if they access another admin page?
For example if they a user ever hits "all pages" /wp-admin/edit.php?post_type=page
they would get redirected to "add New page" /wp-admin/post-new.php?post_type=page
|
|
Fire the above function on the hook
|
|||
|
|
|
Yes this is possible by adding an action to Also the Plugin API and the action reference pages on the WordPress codex go into more detail about actions and how they work. |
|||
|
|