*

Jesus

  • *
  • 28 posts
Question for registration form and login
« on: April 04, 2019, 11:13:16 PM »
Hello !, I have two questions, I would like to modify 2 things

When a new user creates an account on my site in the registration form, when I click on the "register" button I do not want to direct it to the home, I would like to direct it to create an item directly, to the item-post.php, How can I do what? I know I have to modify the user-register.php but I can not find how to do it.

The second would be similar, when a user enters the login form direct direct to your dashboard and not the home.

How can it be done?

*

MB Themes

Re: Question for registration form and login
« Reply #1 on: April 05, 2019, 10:15:43 AM »
@Jesus
You must create function that will be added to hook user_registration_completed for redirect.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Jesus

  • *
  • 28 posts
Re: Question for registration form and login
« Reply #2 on: April 05, 2019, 05:38:26 PM »
@Jesus
You must create function that will be added to hook user_registration_completed for redirect.

What happens is that I program very little, I work mainly with front-end, now after registering on the site the php directs you to the home (Index.php), which could change so that it addresses the item-post ?, so that directly register and go directly to publish your first ad