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

Filters on Login Page

While login_form_top is a valid hook called by the wp_login_form function, wp_login_form is not used in wp-login.php, nor is that function used anywhere else that I can find. I greped my entire 3.5.1 install and found one reference to the function– the place where it is defined. It does not appear to actually be used anywhere by the Core.

You will need to search the wp-login.php file for hooks, such as login_form, and try to do what you need with those hooks, or write your own login page (though it sounds like that is what you are trying to avoid).

Related Posts:

  1. Change “You are now logged out” text
  2. Change username before login
  3. Editing ‘Password Reset’ E-mail
  4. Removing labels and tag on WordPress’s default login form
  5. Customize user account activation message
  6. How do we check if the user is logging in or registering?
  7. add filter login_redirect does not contain original requested redirect
  8. Custom Login Errors and variables I can use
  9. Correct method of redirecting user login
  10. How can I change the email that is inside the default email texts of wordpress?
  11. How do I hook my function to run only after submitting login form
  12. Change login CSS
  13. How to redirect non-logged in users to login with post_password_required()
  14. Filter page title (displayed in browser tab) of wp-login
  15. Disable Remember Me in Login Form
  16. How to redirect a unique link based on login status
  17. login_url filter creates permanent wp-admin -> wp-login redirection loop
  18. Login logout below menu bar
  19. Hook into ‘when user logs in’ [persistent login]
  20. Change password reqts with NO plugin without breaking resetpass link?
  21. ‘Problem’ with login_redirect filter – why does it lose the redirect_to parameter
  22. wp reset password page – head inline script
  23. Disable emojicons introduced with WP 4.2
  24. How to remove a filter that is an anonymous object?
  25. WordPress hooks/filters insert before content or after title
  26. How to add defer=”defer” tag in plugin javascripts?
  27. add_action(), add_filter() before or after function
  28. apply_filters(‘the_content’, $content) vs do_shortcode($content)
  29. How can I redirect user after entering wrong password?
  30. How do filters and hooks really work in PHP
  31. Trouble understanding apply_filters()
  32. What is the very earliest action hook you can call?
  33. How would one modify the filtering Gutenberg applies to pasted content?
  34. How can I modify the WordPress default widget output?
  35. Add custom options to the wplink dialog
  36. Remove classes from body_class
  37. what is __return_false in filters
  38. Explanation for apply_filters function and its variables
  39. Gutenberg: Is there a way to know if current block is inside InnerBlocks?
  40. How to reorder billing fields in WooCommerce Checkout template? [closed]
  41. Insert HTML just after tag
  42. the_content and is_main_query
  43. Changing WooCommerce Display Price Based on User Role & Category [closed]
  44. How to add a custom CSS class to core blocks in Gutenberg editor?
  45. How to show page content in feed?
  46. wp_headers vs send_headers. When to use each?
  47. Filter any HTTP request URI?
  48. How to Pass External Variables to Filters/Actions
  49. How to filter users on admin users page by custom meta field?
  50. Filter by one custom field, order by another?
  51. Not able to change wp_title using add_filter
  52. How to appending to the_content using add_filter with custom post type?
  53. Query WP REST API v2 by multiple meta keys
  54. No filter of code on switch from html to visual editor, how?
  55. Sanitize and data validation with apply_filters() function
  56. How to modify posts_where filter only for the search query
  57. How to hook a filter to catch get_post_meta when alternate a custom field output?
  58. How to get shortcode’s input values inside a filter?
  59. Removing Image and Caption Dimension Attributes
  60. How to wrap oEmbed-embedded video in DIV tags inside the_content?
  61. How to bulk delete all users with no posts?
  62. How many filter/action hooks are healthy?
  63. WordPress 3.9 – Trouble Editing TinyMCE 4.0
  64. Changing JPEG compression depending on image size
  65. How to add filter with 2 args?
  66. Why is javascript allowed in my post content?
  67. How to use update_{$meta_type}_metadata filter to modify meta value
  68. How to wrap an element around an iframe or embed in content automatically?
  69. Filter specific shortcode output?
  70. Custom login form
  71. WordPress Internal @ Mentions
  72. How to add headers to outgoing email?
  73. Earliest hook to reliably get $post/$posts
  74. Insert new element to array with add_filter
  75. LESS CSS enqueue_style with add_filter to change rel attribute
  76. Is it possible to filter comments in a post so a user can only see the comments they have written?
  77. How to pass/get data to/from the WooCommerce data-product_variations object?
  78. Remove Editor From Homepage
  79. How to modify Contact Form 7 Success/Error Response Output [closed]
  80. Prevent wp_login_form() from redirecting to wp-admin when there are errors
  81. Where to hook into post content?
  82. What does (10, 2) mean when used with add_filter
  83. Filter translations (gettext strings) on specific admin pages
  84. Filter username field on registration for profanity and unwanted words
  85. Clarification on filters and hooks
  86. Adding “Remember Me” in custom login
  87. remove_filter( ‘the_content’, ‘wpautop’ ); only for certain post types
  88. At what priority does add_filter overwrite core functions?
  89. How do I change the language of only the login page?
  90. Valid characters for actions, hooks and filters
  91. is it possible to add “extra” table nav to edit-tags.php screens?
  92. Advanced Custom Fields and Yoast SEO keyword analysis [closed]
  93. Disable WordPress 3.6 idle logout / login modal window / session expiration
  94. Adding a filter to qTranslate to change display of language chooser
  95. Insert Custom HTML After Shortcode
  96. Modify links when inserted by WYSIWYG editor
  97. Is there a way to add another row to the tinyMCE kitchen sink toggle?
  98. How to hook into unregistering a widget instance?
  99. How to check if a hook is hooked or not?
  100. Completely strip any hidden formatting when pasting into TinyMCE
Categories filters Tags filters, login, wp-login-form
Retrieve only posts from a specific user in wp-admin/edit.php
Combine two conditions in one statement syntax [closed]

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