When to use _e and __ for the translation?

If you want to echo the translated string, then you will be using _e and when you just want to have the translated string, then you will be using __.

Example:

_e('this is a message', 'twentyfourteen');

is same as

echo __('this is a message', 'twentyfourteen');

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)