-
Home
-
The SEO Framework – Fast, Automated, Effortless.
- Tips
How to Hide The SEO Framework Admin Menus
function plt_hide_autodescription_menus() {
//Hide the "SEO" menu.
remove_menu_page('theseoframework-settings');
}
add_action('admin_menu', 'plt_hide_autodescription_menus', 11);
Where do I put this code?
How to Hide the "SEO Settings" Meta Box
function plt_hide_autodescription_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "SEO Settings" meta box.
remove_meta_box('tsf-inpost-box', $screen->id, 'normal');
}
add_action('add_meta_boxes', 'plt_hide_autodescription_metaboxes', 20);