• Resolved andriiwork

    (@andriiwork)


    Hello All.
    Maybe someone has a snippet to remove this Placeholder?
    I added an example below, but it doesn’t work for me.

    Thanks for help!

    add_filter( "um__password_form_field", "remove_placeholder", 10, 2 );
    
    function remove_placeholder( $output, $set_mode ) {
    
        if( $set_mode == 'password' ) {
            $output = str_replace( 'placeholder="Enter your username or email"', 'placeholder=""', $output );
        }
        return $output;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete Placeholder in Reset password form’ is closed to new replies.