'; foreach ( $options as $value ) { // Heading for Navigation if ( $value['type'] == "heading" ) { if( !empty ($value["icon"]) ) { // var_dump($key,$value["icon"]); $icon = ''; } else { $icon = ''; // _eo-check : why need this ? } $counter++; $class = ''; $class = ! empty( $value['id'] ) ? $value['id'] : $value['name']; $class = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($class) ) . '-tab'; $menu .= '
  • ' . $icon .esc_html( $value['name'] ) . '
  • '; } } $menu .= ''; return $menu; } function eo_optionsframework_side_menu() { $counter = -1; $opt_gr_counter = 0; $options =& _optionsframework_options(); $eo_opts = get_option('eo_opts'); // var_dump($options); // var_dump($eo_opts["groups"]); $menu = ''; $menu .= '
  • '; return $menu; } //} //add_action('admin_enqueue_scripts','eo_bs_prog_css'); ?>