我正在接收此错误
分析错误:语法错误,意外的T_ECHO
使用以下php代码。我检查了括号和引号,但似乎找不到。
<?php if(!$_GET['ae']): _e('<a href="'.echo get_permalink(icl_object_id(9132, 'page', true)).'" class="row">foo</a>'); endif; ?>
自从 _e 函数已经回声了,所以不需要额外的 echo
_e
echo
<?php if(!$_GET['ae']): _e('<a href="'.get_permalink(icl_object_id(9132, 'page', true)).'" class="row">foo</a>'); endif; ?>