How to add a placeholder to the protected post password input

Question

When a post is protected, its content looks like:

// This content is password protected. To view it please enter your password below:
// Password: [_______________] [Enter]

How do I add a placeholder to that <input> tag?

0
, , Hristiyan Dodov 3 years 0 Answers 76 views 0

Leave an answer