Hi @snakedevil88000,
Thanks for reaching out to us tonight.
If I understand correctly, you want to display passwords that users enter by default. Am I right?
You can do that by simply adding the following code snippet to your (child) themeβs functions.php file.
add_filter( 'ppwp_customize_password_form', function( $content ) {
return str_replace( 'type="password"', 'type="text"', $content );
});
Please refer to our documentation here for more information:
https://passwordprotectwp.com/docs/rest-api/#show-password
Hope it helps.
Thanks, does it work for “Partial Protection” too?
Because it doesn’t work the code, thanks again.
Hi @snakedevil88000,
At the moment, the function is applicable to single protection and sitewide protection only.
We’ve already made a new feature request to our team.
Can you please drop us an email at hello(at)preventdirectaccess.com so that we can update you faster & easier?