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

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

    Actually, from my experience, I find that _e() is a function. It is similar to:

    It seems to me that if you eliminate it, you run the risk of your text not even showing up. From the uses I have seen, though, it is comments to the WordPress user to remind them to add information to the area, like the footer, header, or whatever. So eliminating may only remove all the hints the theme has built in for you.

提交回复
热议问题