Opened 2 years ago
#56592 new enhancement
Add filter to wp_redirect_admin_locations()
Reported by: | galbaras | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.0.2 |
Component: | Rewrite Rules | Keywords: | |
Focuses: | Cc: |
Description
Changing the default admin redirections currently requires removing the template_redirect
action that calls this function and replacing it with a different function.
A more consistent way to do it would be to provide a filter hook for $admins
and another for $logins
.
Note: See
TracTickets for help on using
tickets.