0
我正在开发一个WordPress插件。我想在我的数据库发送一些数据如何在变量中使用echo获取wp插件url?
我倒要获得成才这样对我的理念:
$logoname = "<img src='".$pluginlocation."".$name.".gif'>";
有类似的东西(也就是说,它不工作):
$pluginlocation = echo plugin_dir_url(__FILE__) .'/image' ;
TX)
$ pluginlocation = echo plugin_dir_url(__FILE__)。'/ image'; –
nope,不能得到的值:解析错误:语法错误,在49行xxx.php意外的'回声'(T_ECHO) – djeboy