Skip to content

Instantly share code, notes, and snippets.

View rashedripon's full-sized avatar

Rashed Ripon rashedripon

View GitHub Profile
@nayemDevs
nayemDevs / functions.php
Last active April 12, 2021 23:42
Move Dokan vendor dashboard Settings menu to before the settings (First page)
<?php
//removeing the menu from settings variable
add_filter( 'dokan_get_dashboard_settings_nav', function($settings_sub) {
unset ( $settings_sub['store']);
return $settings_sub;
} , 500);
//adding the menu to the $url variable
add_filter('dokan_get_dashboard_nav',function($url) {