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 have seen this in lots of wordpress themes and using it for a while but don't know what is the significance of it. It seems it does the same work as echo something out.

Look for it in codex but failed to find anything about it. May be i have looked in wrong place.

So, my question is what does _e("Some String", 'String'); means? And is it different from echo "Some String"; ?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

it's for localisation/translation

WPEngineer Has a great writeup on how it all works....

share|improve this answer
    
Thanks! Great resource! –  Sisir Jun 27 '11 at 18:57
    
Yup, saw it go by in my google reader last week, your question jogged my memory, figured I'd post it up for you! –  Rev. Voodoo Jun 27 '11 at 19:36

It's a translation string.

The first argument is the string to be translated. The second argument is the textdomain that defines the translation.

share|improve this answer

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.