steps; $array_keys = array_keys( $this->steps ); $current_step = array_search( $this->step, $array_keys, true ); ?>
$step ) : if ( $this->is_nav_item_hidden( $step_key ) ) { continue; } $class_attr = ''; if ( $step_key === $this->step ) { $class_attr = 'active'; } elseif ( $current_step > array_search( $step_key, $array_keys, true ) ) { $class_attr = 'done'; } ?>