multiple checkbox default values
-
for use shortcode_attr I created an array like array(x,y,z)
and the way I found is to complete my form is change a line in
form-tag.php :
//L451
if ( isset( $val ) and strlen( $val ) ) {
if ( $args[‘multiple’] ) {
$values = explode( ‘_’, $val );
// $values[] = $val;
} else {
return $val;
}
}this way works fine is there ab other way for multiple checkbox default values with shortcode_attr ?
You must be logged in to reply to this topic.