Take the 2-minute tour ×

I have these all over my theme, and when if I delete them, there nothing happens to the theme. What the heck does it do? Should I leave them in or are they unnecessary. I want to optimize my site to load faster, so this is why I'm asking.

share|improve this question
add comment

3 Answers


In Wordpress, strings in the php files are marked for translation to other languages, and localization using two “tags” which are actually functions. They are:

__() _e()

share|improve this answer
Link above doesn't work unfortunately... –  user1794295 Feb 24 at 15:19
add comment

They are used for localization in Wordpress themes. If you're only using one language for your theme, you don't need them.

share|improve this answer
add comment

These are for Wordpress localization.

Here is their documentation: http://codex.wordpress.org/Function_Reference/_e

Also a few links on localization in general on wordpress to put the _e's in context:

share|improve this answer
add comment

Your Answer


