Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created March 4, 2020 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plugin-republic/9984961e420963b3e4bf90bb8eb9be56 to your computer and use it in GitHub Desktop.
Save plugin-republic/9984961e420963b3e4bf90bb8eb9be56 to your computer and use it in GitHub Desktop.
<?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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment