Description
This filter hook allows you to change the sidebar login form. It works much like wpmem_login_form.
Usage
add_filter( 'wpmem_sidebar_form', 'my_sidebar_form_filter' ); function my_sidebar_form_filter( $form ) { /** * The HTML for the sidebar login comes into the filter as a * string in the parameter $form. You can append to it, modify * it, or manipulate it with PHP's string manipulation functions. * * Just be sure to return the result at the end of your function */ return $form; }
Code Snippet Library [Subscriber Content]
- Login with Username or Email
- Replace form label tags with input tag placeholders
- Customizing form CSS: Login widget with inline inputs
- Log in with Email or Username
- Bootstrap sidebar login example for non-Bootstrap themes
- Bootstrap sidebar login
See a list of all filter and action hooks