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.


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;


See a list of all filter and action hooks


You do not have permission to view this forum.