-
Home
-
Speaker Lite
- Tips
How to Hide the "Speaker Lite" Admin Menu
function plt_hide_speaker_lite_menus() {
//Hide the "Speaker Lite" menu.
remove_menu_page('mdp_speaker_lite_settings');
}
add_action('admin_menu', 'plt_hide_speaker_lite_menus', 11);
Where do I put this code?
How to Hide the "Speaker Lite" Meta Box
function plt_hide_speaker_lite_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Speaker Lite" meta box.
remove_meta_box('mdp_speaker_lite_box_id', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_speaker_lite_metaboxes', 20);