Description
This filter hook comes after the html for the login form is compiled. Using this filter, you can make changes to the login form.
Note: the “login” form is used in three ways – Login, Password Change, Forgotten Password Reset. The state is determined by the value of the wp-members action variable $wpmem_a, which is available as global $wpmem_a; For password change, the value will be pwdchange and for forgotten password reset it will be pwdreset.
Usage
add_filter( 'wpmem_login_form', 'my_login_form_filter' );
function my_login_form_filter( $form )
{
/**
* The login form is brought in with $form
* You can append to it or filter it
*/
return $form;
}
Examples
- Remove an unparsed [wpmem_txt] shortcode [ free ]
- Add a helpful dialog above the password reset form [ members only ]
- Remove the login form from completed registration [ members only ]
- Bootstrap icons for the login form [ members only ]
- Remove the login form from the main content area [ members only ]

Private
You do not have permission to view this forum.