Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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