Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Does wp_login hook fire on user registration?

no, new user registration wont fire the wp_login by default. the only action hook that fire for new user registration is user_register.

But since you are auto logging user after registration, you should provide on how you achived this, if you are using a plugin for auto login, this depends if they call do_action('wp_logn', .........)

if you manually doing it on functions.php via user_register hook, then execute the do_action('wp_logn', .........)

Related Posts:

  1. WordPress auto login after registration not working
  2. How can I do customizations on login, registration and password recovery forms?
  3. What hooks do I need to hook into to capture ever wp_user creation/change?
  4. Updating user meta data from external link, user not logged in
  5. Is there a hook that runs after a user logs in?
  6. Is there a hook before the user is authenticated?
  7. Run javascript code after wp_login hook?
  8. The ‘user_has_cap’ hook seems to take two page loads to trigger
  9. Post-Registration, post-meta hook?
  10. How to create custom LOGIN and REGISTRATION forms?
  11. after login that will redirect user role into a page
  12. Get user info outside WordPress
  13. update post meta using user_register hook not working
  14. How to hook into user registration process Before user registers
  15. How to modify an add_action() inside a loop of core function
  16. How to increase password requirements for registration [closed]
  17. Can user_register output the password?
  18. WordPress to use Drupal users’ credentials
  19. Firing a function AFTER redirect
  20. How to get session token of current user in wp_login hook?
  21. Custom action on login and “remember me”
  22. How to hook in after user’s registration email has been sent?
  23. User management system similar to wordpress one?
  24. Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?
  25. User update hook
  26. `rest_user_query` can’t access post author in post edit screen
  27. user_profile_update_errors hook not executing
  28. wordpress disable login for unverified user
  29. register_activation_hook not updating
  30. Hook when editing user
  31. Custom Front End Registration – How Does the Key work in the Password Set Request?
  32. How to change the default mail when admin approuved an user?
  33. Send along login credentials with comment content
  34. Registration Hooks don’t appear to be working
  35. Keep Logged in Users out of Admin Panel
  36. Is it possible to add the_content filter upon login?
  37. Associate multiple email addresses with the same user account, so they can log in with either
  38. hooks for automatic approve user registration according to data in custom fields
  39. define two login page url
  40. Allowing duplicating users with same user_login and user_email
  41. ‘user_register’ hook – need to distinguish if created from wp admin panel
  42. Display custom user profile fields in wordpress
  43. delete_user hook failed
  44. add_action doesn’t work for my function
  45. Help hooking into user_register
  46. wp_get_current_user Not working
  47. How to get user profile information before update?
  48. New User ID not working in custom function with user_register hook
  49. Which hook should I use for this scenario regarding the registration process and account/profile update?
  50. Retrieve New user’s ID
  51. Problem in register activation hook and Copying folder
  52. Integrating Facebook Registration (and Login) on a WordPress page
  53. How to add a new link to the default register form’s footer links?
  54. User register hook can’t access form request
  55. Changing login url
  56. Change password reqts with NO plugin without breaking resetpass link?
  57. Prefix user login_name and validate it is unique on Registration
  58. Is there a plugin or resource for custom implementation for OAUTH and regular user login?
  59. is_user_logged_in() doesn’t work after custom login and redirect
  60. Hook to change Author Info
  61. Hook triggered twice in a Woocommerce single product page
  62. User account activation links are lacking query strings
  63. Why the post ID is 0 in a hook within wp_insert_post_data?
  64. How to resolve 500 error in post listing page?
  65. Function Hooked on Init Running Multiple Times
  66. set_post_format called after wp_update_post when using bulk edit?
  67. WP-Automatic to run publish hooks
  68. Users Ultra: Hide asterisk for required registration fields?
  69. Cannot login in WordPress even after changing hash password in phpmyadmin
  70. List users in a dropdown for login
  71. WordPress save_post hook not firing when checking if _GET[‘post’] is set
  72. Access post meta just after publishing
  73. How to work with hooks and Posts to posts plugin?
  74. Which hook runs first(init,… or ???) [duplicate]
  75. Set user role on registration so can upload file to own media library area
  76. Send email to post author 1 day before his project ends
  77. custom login form, guide me
  78. Multisite “Skip Confirmation Email” Log Out Problem
  79. Login user after registration programmatically
  80. Object oriented programming, add_action in constructor not firing
  81. add hook restricted only to either plugins or themes?
  82. Change “login/register” to “useraccount” when a user has logged in
  83. Create custom fields/meta data gender+country – radiobuttons and dropdown on register screen for these fields
  84. template_redirect and title
  85. How to get rid of the username of registration form in theme my login wp plugin?
  86. How to hook watchdog script for existence of a WP page?
  87. Disallow user registration/checkout via Hotmail/Yahoo
  88. Get new (not old) post inside transition_post_status hook
  89. Using actions, hooks and filters in a non-WordPress page
  90. addaction hook cause redirection problem
  91. How to Show Different Information to your authors/contributers
  92. When is get_currentuserinfo() needed?
  93. Custom registration field to SQL database
  94. disable publish button until condition is not met
  95. Hide post completely and still reach it via cURL
  96. Cannot override hooks.php
  97. Changing starting number of User ID
  98. How do I remove an action hook by s2member
  99. Removing action from template class
  100. Where do I find “log in” and “register” link which are located on the top right corner?
Categories hooks Tags hooks, login, user-registration, users
Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
No attachments on contact form 7

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress