enter image description here

I would like to add a custom link to the footer section of the register form.

How can I do this?

I am using the login_footer hook:

add_action( 'login_footer',array($this, 'add_forum_menu'), 50, 2 );
function add_forum_menu() {
    //need code to append the new items on the menu 
) );


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 Wordpress search:

, , , , , ,

Wordpress related questions and answers: