Redirect wordpress user after log in

There are a couple ways to do this. Based off, “role” or “capability”. Often I use Just Tadlocks Members plugin to create custom roles for clients to not over burden them with every thing in the dashboard. Because of this, I think using “Capabilities” is a much better way of going about it.

Redirect user based off role … you can change “administrator” to be:
administrator
editor
subscriber
author
contributor

 

Redirect User based off Capability: List of Capabilities

Ex: If user can moderate comments, redirect to home…

If user can not update core, redirect home…

You get the idea…

Leave a Reply

Your email address will not be published. Required fields are marked *

16 + = 25