0

On the password protected page form, is it possible to customize just the password input label? For example; I dont want the text:

Password:

I just want to change that text to something else like:

Serial UID:

I am aware I can hook into the the_password_form filter. But doing that means I need to specify the whole form html and etc. I just want to change the input label text only. Is there a simple way to change that?

  • 1
    You could use the gettext filter. Or do a simple preg_replace() to target the label.. Or just override the form code - it's a simple HTML by default.. – Sally CJ Jun 11 at 0:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.