1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Change the position of the Product Add-Ons menu item
  1. Home
  2. Knowledge Base
  3. Troubleshooting Add-Ons Ultimate
  4. Change the position of the Product Add-Ons menu item

Change the position of the Product Add-Ons menu item

Very occasionally, plugins try to add their menus in the same position. This can result in one plugin’s menu not being displayed in the dashboard menu.

You can move the Product Add-Ons menu by using the following snippet:

<?php
/**
* Change the position of the Product Add-Ons menu item
*/
function prefix_menu_position( $pos ) {
return 57; // Try a different value here
}
add_filter( 'pewc_menu_position', 'prefix_menu_position' );

Here’s how to add a snippet.

Was this article helpful?

Related Articles