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

后端 未结 7 1218
遥遥无期
遥遥无期 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:05

    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:

    • http://make.wordpress.org/docs/plugin-developer-handbook/plugin-components/internationalization/
    • http://codex.wordpress.org/I18n_for_WordPress_Developers

提交回复
热议问题