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.


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.

  • 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. – Evan Yeung Jul 8 '11 at 5:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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