Created
May 13, 2022 06:36
-
-
Save J-H-Mojumder/698a1a76a0a671875825f1ed70ebb25b to your computer and use it in GitHub Desktop.
Remove steps from the seller setup wizard.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#-- Remove seller setup wizard step --# | |
function seller_setup_wizard_steps($steps){ | |
/* | |
To remove your required step follow the below mentioned array values | |
To remove introduction $steps['introduction']; | |
To remove store info $steps['store']; | |
To remove payment setup $steps['payment']; | |
To remove the last step $steps['next_steps']; | |
*/ | |
unset($steps['payment']); | |
return $steps; | |
} | |
add_filter('dokan_seller_wizard_steps', 'seller_setup_wizard_steps'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment