-
Home
-
Social Share Icons & Social Share Buttons
- Tips
How to Hide the "Ultimate Social Media PLUS" Admin Menu
function plt_hide_ultimate_social_media_plus_menus() {
//Hide the "Ultimate Social Media PLUS" menu.
remove_menu_page('sfsi-plus-options');
}
add_action('admin_menu', 'plt_hide_ultimate_social_media_plus_menus', 11);
Where do I put this code?
How to Hide the "Ultimate Social Media – Define which pictures & texts will get shared" Meta Box
function plt_hide_ultimate_social_media_plus_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Ultimate Social Media – Define which pictures & texts will get shared" meta box.
remove_meta_box('sfsi-plus-social-media', $screen->id, 'normal');
}
add_action('add_meta_boxes', 'plt_hide_ultimate_social_media_plus_metaboxes', 20);