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

How to add a new link to the default register form’s footer links?

I was looking at the wp-login.php file and noticed that there’s an action location :

<?php do_action('login_footer'); ?>

available… to use.
So

add_action('login_footer', 'my_addition_to_login_footer');
function my_addition_to_login_footer() {
     echo '<div style="text-align: center;"><a href="#">link</a></div>';
}

Related Posts:

  1. Is there a hook that runs after a user logs in?
  2. Run javascript code after wp_login hook?
  3. How can I do customizations on login, registration and password recovery forms?
  4. after login that will redirect user role into a page
  5. Is it possible to add the_content filter upon login?
  6. How to know what functions are hooked to an action/filter?
  7. Difference between do_action and add_action
  8. Why do some hooks not work inside class context?
  9. Difference between after_setup_theme and init action hooks?
  10. Trigger custom action when setting button pressed
  11. Please explain how these hooks work
  12. Hook after image is uploaded and image sizes generated
  13. Is there a hook before the user is authenticated?
  14. add_action(‘wp_ajax_[action name]’, myfunction) problem
  15. How to remove action hook done in a plugin from functions.php in my theme?
  16. trigger save_post event programmatically
  17. Implementing advanced add_* function wrappers
  18. My add_action (wp_footer, ‘method’) is not calling?
  19. What is the earliest possible hook for safely using `is_front_page`?
  20. How to check if which hook triggered the call to a function?
  21. Send data to 3rd party api with wp_remote_post on wp_login
  22. is it possible to get the hook name in add_action?
  23. How can I tell if I’m on a login page? [duplicate]
  24. Difference between hooks Plugin_loaded and admin_int?
  25. Redirect logged in users if they are on a specific page
  26. Action wp_login_failed not working if only one field is filled out
  27. admin_post hook not called
  28. Check if action hook exists before adding actions to it
  29. Hooks are not executing
  30. How to debug removal of rewrite rule flushing?
  31. add_action on inherit post status
  32. Detect type of post status transition
  33. Create hooks based on an array of hook names?
  34. hook for lostpassword form
  35. Hook before inserting user into database [duplicate]
  36. How to pass arguments to add_action() [duplicate]
  37. action lifecycle
  38. How to use the post_updated hook before and after arguments
  39. Is there a recover_post hook to go with trash_post hook?
  40. Redirect users on specific post category or category page
  41. WP Admin Bar frontend issue with dashicon deregister
  42. How can i trigger an action manually?
  43. How to get post ID in post_updated action hook?
  44. wp_redirect() not working on form submission with init hook
  45. add_action for lost_password or modify wp-login.php?action=lostpassword
  46. Run add_action hook if condition
  47. Add my own function to existing WooCommerce hook
  48. Empty Super Cache programmatically (with ACF action) [closed]
  49. What is the best filter where to use register_block_type?
  50. How to use do_action_ref_array?
  51. Firing a function AFTER redirect
  52. Admin Hook at the Login Page
  53. Check if do_action(‘custom_action’) is hooked into?
  54. How to find hooks as per Just-In-Time approach?
  55. add filter login_redirect does not contain original requested redirect
  56. How to get session token of current user in wp_login hook?
  57. How To Make Sure That My Action Hook Executes Last
  58. Does update_comment_meta hook exists?
  59. how to determine how many and what kind of arguments are passed to hooks
  60. WP CLI Get all Enqueued Scripts and Styles
  61. Change username before login
  62. Delay an action until current action is completed
  63. Custom action on login and “remember me”
  64. What’s hook to use immediately after a user is authentcated [duplicate]
  65. Hooking into the init action will fire it too frequently?
  66. Event-Driven Pattern vs MVC?
  67. Implement Hooks Using Array
  68. Looking for a hook for post.php
  69. How can I get my Script to work on the Login page?
  70. Save User Meta Email Address in Lowercase
  71. Save acf field data via acf/save_post before post is saved
  72. How do I trigger a post update within a get_posts() foreach loop?
  73. Hook when editing user
  74. Execute JavaScript in WordPress Hook
  75. schedule event in class oriented plugin
  76. Add action hook into wp_localize_script
  77. Hooks are not being removed in child theme
  78. Send along login credentials with comment content
  79. How to replace a function using a child theme?
  80. Removing parent theme action on pluggable function not working
  81. Which action hook should I use to intercept a form upon submission?
  82. How do I prevent term from being created on create_term hook?
  83. Would there be anything stopping me from removing both wp_head and wp_footer?
  84. Should `wp_login` be used since it’s deprecated?
  85. WordPress wp_loaded action hook
  86. add_action second argument missing
  87. I would like to send a notification email (Asana) whenever something is published (posts, pages, custom post types) [duplicate]
  88. admin_notices action doesn’t trigger within save_post action
  89. I don’t understand how add_action and do_action work in tandem. The former executes the code already…what is do_action for?
  90. Check if `do_action()` in WordPress returns any result
  91. How to cancel an action hooked to untrash_post? or any hook
  92. Add Different Actions To Different Page’s wp_footer
  93. add_action hook for publish_post not working
  94. How to run a function after wp() in the wp-blog-header.php file?
  95. Hook for inserting?
  96. Notify admin when Custom post meta data gets updated or deletet
  97. dynamic add_action according to child pages (for homepage control)
  98. Remove action in a parent theme from the child theme
  99. Remove action within a class in a parent theme’s includes folder from the child theme
  100. Remove genesis_404 hook from genesis_loop [closed]
Categories hooks Tags actions, hooks, login, wp-login-form
WordPress admin panel is blank
Removing Author name

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