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:
- Is there a hook that runs after a user logs in?
- Run javascript code after wp_login hook?
- How can I do customizations on login, registration and password recovery forms?
- after login that will redirect user role into a page
- Is it possible to add the_content filter upon login?
- How to know what functions are hooked to an action/filter?
- Difference between do_action and add_action
- Why do some hooks not work inside class context?
- Difference between after_setup_theme and init action hooks?
- Trigger custom action when setting button pressed
- Please explain how these hooks work
- Hook after image is uploaded and image sizes generated
- Is there a hook before the user is authenticated?
- How to check if which hook triggered the call to a function?
- How can I tell if I’m on a login page? [duplicate]
- Difference between hooks Plugin_loaded and admin_int?
- Redirect logged in users if they are on a specific page
- Action wp_login_failed not working if only one field is filled out
- Check if action hook exists before adding actions to it
- Hooks are not executing
- How to debug removal of rewrite rule flushing?
- add_action on inherit post status
- Detect type of post status transition
- Create hooks based on an array of hook names?
- hook for lostpassword form
- How to pass arguments to add_action() [duplicate]
- action lifecycle
- How to use the post_updated hook before and after arguments
- Is there a recover_post hook to go with trash_post hook?
- Redirect users on specific post category or category page
- How can i trigger an action manually?
- How to get post ID in post_updated action hook?
- Run add_action hook if condition
- Empty Super Cache programmatically (with ACF action) [closed]
- What is the best filter where to use register_block_type?
- How to use do_action_ref_array?
- Check if do_action(‘custom_action’) is hooked into?
- How to find hooks as per Just-In-Time approach?
- How to get session token of current user in wp_login hook?
- how to determine how many and what kind of arguments are passed to hooks
- WP CLI Get all Enqueued Scripts and Styles
- Change username before login
- Delay an action until current action is completed
- Hooking into the init action will fire it too frequently?
- Event-Driven Pattern vs MVC?
- Implement Hooks Using Array
- How can I get my Script to work on the Login page?
- Save acf field data via acf/save_post before post is saved
- How do I trigger a post update within a get_posts() foreach loop?
- Hook when editing user
- Add action hook into wp_localize_script
- Send along login credentials with comment content
- How to replace a function using a child theme?
- Removing parent theme action on pluggable function not working
- Which action hook should I use to intercept a form upon submission?
- How do I prevent term from being created on create_term hook?
- Would there be anything stopping me from removing both wp_head and wp_footer?
- Should `wp_login` be used since it’s deprecated?
- WordPress wp_loaded action hook
- I would like to send a notification email (Asana) whenever something is published (posts, pages, custom post types) [duplicate]
- Check if `do_action()` in WordPress returns any result
- Add Different Actions To Different Page’s wp_footer
- add_action hook for publish_post not working
- How to run a function after wp() in the wp-blog-header.php file?
- Hook for inserting?
- Notify admin when Custom post meta data gets updated or deletet
- Remove genesis_404 hook from genesis_loop [closed]
- Action hook with wrapper html
- Adding custom Bulk Actions
- What hook to use to redirect based on $post
- Change status of page after an event (Looking for best practice advice)
- Post via wp-admin and via iOS app, same hooks and triggers involved?
- Session management issues with WordPRess 404 Error page
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- How to call do_action() to pass arguments to hooked functions that take different number of args?
- Struggling with plugin dev basics: add_action
- RTrouble passing arguments to action
- How to hook add_action() into after category description with id?
- add_action doesn’t work for my function
- Updating user meta data from external link, user not logged in
- Add HTML code before the title of the Tag page
- Check if front page within function passed to action
- How can I insert custom html code inside a div dynamically?
- How to trigger click events using hooks
- Check get_post value after wp-admin login
- Hooks with same priority number. Can one stack items returned in divs, position: absolute each with their own z-index?
- Can add_image_size be added earlier
- $new_pass always returns null – password_reset hook
- wp_login_form() ignoring login_form action hook
- Object oriented programming, add_action in constructor not firing
- When is get_currentuserinfo() needed?
- How do I remove an action hook by s2member
- Removing action from template class
- frontend show edit profile with selected custom options
- The acction hook stop working if i move it from plugin file to theme’s functions.php file
- admin_post hook not working
- add_action failed to display function by a plugin
- Does wp_login hook fire on user registration?
- How do I set a custom post type Category after import using wp_set_post_terms
- Hooks to trigger a callback when adding, removing, rearranging or updating a widget in the widget area