I've been trying for days now to take users who have just registered to my WordPress site and automatically log them in and then redirect them to a URL of my choice. By default, WordPress sends you a username and a password, then you must log in manually. This is a total pain. How can i overcome this. I have my own registration page(core php page) which successfully adds users into DB. But the point is, i should avoid users to login again. Once registration is done, it should automatically redirects to home page or profile page. I am a new bee to wordpress functionalities. It would be grateful if someone(who have knowledge on core functionality of wordpress) atleast suggests a way/solution. Looking forward. Thanks
相关问题
- Display product ACF field value in Woocommerce tra
- Adding a custom button after add to cart button in
- How to add a “active” class to a carousel first el
- Setting custom order statuses as valid for payment
- change the font size in tag cloud
相关文章
- wordpress新增页面如何个性化设置
- select query in wordpress
- Get WooCommerce featured products in a WP_Query
- Woocommerce update shipping methods in checkout vi
- Change order status just after payment in WooComme
- Publishing or uploading failed. Error message: “Th
- Facebook Login With WP JWT Auth
- Wordpress development process
Following is based on how WooCommerce creates a new user and logs him in:
to redirect use
wp_safe_redirect
, e.g.Thanks for your support guys..i did on my own with the following code..thanks for your time and support :)