1

I use a theme called vigilance

I am starting to build my own themes and I notice in this them a lot of functions will have the theme name vigilance passed into the functions like this one below...

<?php _e( 'This post is password protected. Enter the password to view comments.', 'vigilance' ); ?>

Notice the theme name is passed as the second parameter, I am trying to figure out why? I have not found anything supporting this in the docs yet?

2

It's the text domain, for use in internationalization.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.