Changes between Version 1 and Version 2 of Ticket #47692, comment 10
- Timestamp:
- 05/12/2020 03:30:35 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #47692, comment 10
v1 v2 25 25 else if( ! empty( $this->options ) ){ 26 26 foreach ( $this->options as $label => $value ) { 27 if(is_array($value) ){27 if(is_array($value) && !empty( $value ) ){ 28 28 echo '<optgroup label="' . esc_attr( $label ) . '">'; 29 29 foreach( $value as $optgrouplabel => $optgroupvalue ){