static function optionsframework_tabs( $option_name, $options ) {
		$counter = 0;
		$menu = '';

		foreach ( $options as $value ) {
			// Heading for Navigation
			if ( $value['type'] == "heading" ) {
				$counter++;
				$class = '';
				$class = ! empty( $value['id'] ) ? $value['id'] : $value['name'];
				$class = preg_replace( '/[^a-zA-Z0-9._\-]/', '', strtolower($class) ) . '-tab';
				$menu .= '<a id="options-group-'.  $counter . '-tab" class="nav-tab ' . $class .'" title="' . esc_attr( $value['name'] ) . '" href="' . esc_attr( '#options-group-'.  $counter ) . '">' . esc_html( $value['name'] ) . '</a>';
			}
		}

		return $menu;
	}
static function optionsframework_tabs( $option_name, $options ) {
		$counter = 0;
		$menu = '';

		foreach ( $options as $value ) {
			// Heading for Navigation
			if ( $value['type'] == "heading" ) {
				$counter++;
				$class = '';
				$class = ! empty( $value['id'] ) ? $value['id'] : $value['name'];
				$class = preg_replace( '/[^a-zA-Z0-9._\-]/', '', strtolower($class) ) . '-tab';
				$menu .= '<a id="options-group-'.  $counter . '-tab" class="nav-tab ' . $class .'" title="' . esc_attr( $value['name'] ) . '" href="' . esc_attr( '#options-group-'.  $counter ) . '">' . esc_html( $value['name'] ) . '</a>';
			}
		}

		return $menu;
	}
static function optionsframework_tabs ( $ option_name , $ options ) { $ counter = 0 ; $ menu = '' ; foreach ( $ options as $ value ) { // Heading for Navigation if ( $ value [ 'type' ] == "heading" ) { $ counter ++ ; $ class = '' ; $ class = ! empty ( $ value [ 'id' ] ) ? $ value [ 'id' ] : $ value [ 'name' ] ; $ class = preg_replace ( '/[^a-zA-Z0-9._\-]/' , '' , strtolower ( $ class ) ) . '-tab' ; $ menu .= '<a id="options-group-' . $ counter . '-tab" class="nav-tab ' . $ class . '" title="' . esc_attr ( $ value [ 'name' ] ) . '" href="' . esc_attr ( '#options-group-' . $ counter ) . '">' . esc_html ( $ value [ 'name' ] ) . '</a>' ; } } return $ menu ; }
Generates the tabs that are used in the options menu
Generates the tabs that are used in the options menu