-
Home
-
Dropshix
- Tips
How to Hide the "Dropshix™" Admin Menu
function plt_hide_dropshipping_xox_menus() {
//Hide the "Dropshix™" menu.
remove_menu_page('dropshix-opt');
}
add_action('admin_menu', 'plt_hide_dropshipping_xox_menus', 11);
Where do I put this code?
How to Hide Dropshipping Xox Meta Boxes
function plt_hide_dropshipping_xox_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Dropshix Order Products" meta box.
remove_meta_box('dropshix_order_fields', $screen->id, 'side');
//Hide the "DROPSHIX Panel" meta box.
remove_meta_box('dropshix_attributes_import', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_dropshipping_xox_metaboxes', 20);