current_step = $current_step ? $current_step : 1; $this->items = $items; } public function render() { $this->items = apply_filters( 'wpml_setup_wizard_progress_items', $this->items ); ?>
current_step ) { $step_classes[] = 'wizard-current-step'; } if ( $step < $this->current_step ) { $step_classes[] = 'wizard-active-step'; } return implode( ' ', $step_classes ); } }