我知道__()这个函数是双下划线函数, 有人称翻译字符串。 WordPress中的这些函数__(), _ e, _ex()的实际名称是什么?
#1
__()和_e()是最简单的函数:它们返回或回显转换后的字符串。它们的用法应该很明显:一个字符串, 一个翻译。
其余函数_ex是_e和_x的组合:它使用上下文回显已翻译的字符串。
如果你可以通过示例获得更多想法, 请转到此教程链接:__(), _ e(), _ x()和_ex()有什么区别?
来源:
https://www.srcmini02.com/66206.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37129.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57