-
Home
-
Easy 3D Viewer
- Tips
How to Hide the "Woo 3D Viewer" Admin Menu
function plt_hide_woo_3d_viewer_menus() {
//Hide the "Woo 3D Viewer" menu.
remove_menu_page('woo3dv');
}
add_action('admin_menu', 'plt_hide_woo_3d_viewer_menus', 11);
Where do I put this code?
How to Hide the "Product model" Meta Box
function plt_hide_woo_3d_viewer_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Product model" meta box.
remove_meta_box('woo3dv-product-model', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_woo_3d_viewer_metaboxes', 20);