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_user_logged_in() doesn’t work after custom login and redirect
  59. Use wp init hook to call other hooks?
  60. Hook that fires when admin setting is saved
  61. What is the difference between update_post_meta and update_postmeta hooks?
  62. How to remove action hook done in a plugin from functions.php in my theme?
  63. Hooks for trashing, deleting, saving, restoring custom post type
  64. Extending WP_User class and using this sub-class during the whole lifecycle
  65. Use $query->set multiple times with pre_get_posts?
  66. Hook before inserting user into database [duplicate]
  67. Removing labels and tag on WordPress’s default login form
  68. How Do I Prevent Junk Account Creation?
  69. Login & Register & Custom details WITHOUT plugin
  70. Last time a user logged in
  71. How can I verify users facebook ID that he provides during signup process
  72. Need to check is_archive during init
  73. Trying to run a compile command while saving post
  74. Password minimum length in personal subscription [closed]
  75. How to get user meta fields that have just been updated?
  76. admin_notices action doesn’t trigger within save_post action
  77. Divi hook not working [closed]
  78. How to perform action when plugin/theme editor is used?
  79. Front end register with custom fields
  80. how redirect users to custom login page when “login to reply” is clicked? [duplicate]
  81. Print on screen during shutdown hook – error during saving in theme-editor.php
  82. Hook before user is created and make some custom validation
  83. How to stop execution of a function via add_action hook?
  84. User with same Mail but a different additional info(like domain)
  85. changing genesis_before_while in new theme framework
  86. Moving Javascript from footer to header
  87. Adding a new hidden field based on a condition in Ninja Forms
  88. Forcing WooCommerce customers to create account before checking out
  89. Transition_Post_Status hook not working properly
  90. WP users cant reset password
  91. Are there Hooks for featured image popup?
  92. WordPress sending data with add_action
  93. Change hyperlink to User Registration page instead of WordPress login page
  94. How to hide / remove attachment “alt” or “caption” field in Admin?
  95. Access post meta just after publishing
  96. Which hook runs first(init,… or ???) [duplicate]
  97. Custom registration field to SQL database
  98. Redirect back to origin page after using get_delete_post_link()
  99. Is there any Reference of WordPress hook and hacks? [closed]
  100. Cant edit profile from frontend
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
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 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