Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions includes/Admin/OnboardingSetup/AdminSetupGuide.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,16 @@ function ( AbstractStep $step ) {
}

/**
* Describe the settings options for frontend.
* Step navigation metadata for the frontend.
*
* The wizard fetches each step's field schema lazily over REST
* (`/dokan/v1/admin/setup-guide/{id}`), so only the step list is injected here.
*
* @since 4.0.0
*
* @return array
*/
public function settings(): array {
return array_reduce(
$this->get_steps(), function ( $settings, AbstractStep $step ) {
return array_merge( $settings, [ $step->get_id() => $step->settings() ] );
}, [ 'steps' => $this->get_steps_mapper() ]
);
return [ 'steps' => $this->get_steps_mapper() ];
}
}
75 changes: 0 additions & 75 deletions includes/Admin/OnboardingSetup/Components/ComponentFactory.php

This file was deleted.

163 changes: 0 additions & 163 deletions includes/Admin/OnboardingSetup/Components/Field.php

This file was deleted.

51 changes: 0 additions & 51 deletions includes/Admin/OnboardingSetup/Components/FieldGroup.php

This file was deleted.

Loading
Loading