【发布时间】:2017-01-06 04:11:06
【问题描述】:
我有这个语法来提供一系列复选框。这很好用,但是无论我使用什么语法来获取收音机,我什么都得不到,只是一个空格。
我试过'type' => 'radio',也试过'type' => 'radiogroup'。
这是我现在使用的:
array(
'type' => 'checkbox',
"holder" => "div",
"class" => "",
"heading" => __("Choose your cheese topping", 'rbm_menu_item'),
'param_name' => 'cheesbox',
'value' => array( 'Cheddar'=>'Chedder', 'Gouda'=>' Gouda', 'Bleu'=>' Bleu'),
"description" => __("<br /><hr class='gduo'>", 'rbm_menu_item')
),
有什么想法吗?有没有其他方法可以获取收音机而不是复选框?
【问题讨论】:
-
你用的是什么框架?
-
@Sylwit:经过一番挖掘,这看起来像是 WordPress 的 Visual Composer。
标签: php arrays checkbox radio-button