-
Home
-
Play.ht – Make Your Blog Posts Accessible With Text to Speech Audio
- Tips
How to Hide the "Play.ht" Admin Menu
function plt_hide_play_ht_menus() {
//Hide the "Play.ht" menu.
remove_menu_page('play-welcome-page');
}
add_action('admin_menu', 'plt_hide_play_ht_menus', 11);
Where do I put this code?
How to Hide the "Play.ht - Audio Accessibility" Meta Box
function plt_hide_play_ht_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Play.ht - Audio Accessibility" meta box.
remove_meta_box('podcast-meta-box-id', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_play_ht_metaboxes', 20);