function plt_hide_mstore_api_menus() { //Hide the "MStore Api" menu. remove_menu_page('mstore-plugin'); } add_action('admin_menu', 'plt_hide_mstore_api_menus', 11);
Where do I put this code?