type=>group, add_button=>false
-
Why group field can’t be not repeatable?
Who needs true group field have to fix CMB2.php:CMB2.php function render_group($args)
Wrap the echoing of a button inside such if:
if($field_group->options('add_button')){ echo '<div class="cmb-row"><div class="cmb-td"><p class="cmb-add-row">... }
then use
'add_button' => false
for field options.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘type=>group, add_button=>false’ is closed to new replies.