What does the WordPress “_e()” function do?

后端 未结 7 1223
遥遥无期
遥遥无期 2020-12-05 13:02

I have these all over my theme, and when if I delete them, there nothing happens to the theme. What does it do? Should I leave them in or are they unnecessary? I want to opt

7条回答
  •  不知归路
    2020-12-05 13:06

    https://developer.wordpress.org/reference/functions/_e/

    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()

提交回复
热议问题