I’ve created a customized login kind that may use the default motion of the wordpress one.
I have to show errors on it if happens however in the intervening time the consumer will probably be redirected to wp-login.php
in case of errors. Additionally I would like that customers are redirected to particular web page primarily based on their function, I’ve two customized roles and I would like to point out totally different pages to every single function.
How I can accomplish this, will the login_redirect
filter be helpful if I add it in a customized plugin?
Will a customized web page added to dashboard utilizing add_menu_page
may be exhibited to consumer with no explicit function, or there may be one other technique to exchange the default dashboard?