Dokan Menu Not Found in WP-Admin

After installing the Dokan plugin you should get a menu like this in your wp-admin. But sometimes. Due to plugin conflict the menu item can get hidden.

How To Fix Dokan Menu

WordPress has the function to add menu items for themes and plugins in WP-Admin. And that menu items will have the order to determine where the Dokan menu should appear.

To know more about this function, you can read this doc http://codex.wordpress.org/Function_Reference/add_menu_page

To solve this out, we have utilized the following function includes/admin/admin.php – line number 67 and the menu position is located at line 58.

On that line, you will see something like this

[php]$menu_position = apply_filters( ‘doakn_menu_position', 17 );[/php]

Here 17 is the menu order. If another plugin or theme tries to use this very same position, then you can change it from here.

After changing the menu order to 7 instead of 17, the Dokan menu will move up like this:-

Menu position changed

The best practice is overriding anything from your child's theme. If you do so, then you will not have to edit the plugin file each time when it gets updated.