-
Home
-
Specific Content For Mobile – Customize the mobile version without redirections
- Tips
How to Hide the "Specific Content For Mobile" Admin Menu
function plt_hide_specific_content_for_mobile_menus() {
//Hide the "Specific Content For Mobile" menu.
remove_menu_page('eos_scfm');
}
add_action('admin_menu', 'plt_hide_specific_content_for_mobile_menus', 11);
Where do I put this code?
How to Hide the "Mobile version" Meta Box
function plt_hide_specific_content_for_mobile_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Mobile version" meta box.
remove_meta_box('eos-scfm', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_specific_content_for_mobile_metaboxes', 20);