标签: php wordpress
我在wordpress上自定义一个插件,我想在html输出上显示一个GET变量?我该怎么办?
$mlpoutputhtml .= "Selected category: "; + the get variable
由于
答案 0 :(得分:0)
$_GET['thename'];
在此处详细了解:http://php.net/manual/en/reserved.variables.get.php
答案 1 :(得分:0)
此,
$mlpoutputhtml .= "Selected category: " . $_GET['your_variable'];