Make WordPress Core

Opened 21 months ago

#56592 new enhancement

Add filter to wp_redirect_admin_locations()

Reported by: galbaras's profile galbaras Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0.2
Component: Rewrite Rules Keywords:
Focuses: Cc:


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.

Change History (0)

Note: See TracTickets for help on using tickets.