Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Here is my current code.

function custom_login_footer() {
    return '<p>text text text</p>';
}
add_filter('login_form_bottom', 'custom_login_footer');

I am trying to add text below the submit button, but I do not know how to apply the login_form_bottom filter.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

your code is correct, however, that filter only applies to the wp_login_form() function, which is not what wp-login.php uses, so you won't be seeing your text there if that's what you're expecting! try adding a call to wp_login_form() in a template to see what the filter does.

share|improve this answer
2  
Thank you Milo. Although I did not achieve the result I wanted, you did answer the question. I'll open a new one to rephrase my question with this newly presented information. –  imHavoc Jul 8 '11 at 5:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.