-
Home
-
PDF & Print by BestWebSoft – WordPress Posts and Pages PDF Generator Plugin
- Tips
function plt_hide_pdf_print_menus() {
//Hide "PDF & Print".
remove_menu_page('pdf-print.php');
//Hide "PDF & Print → Settings".
remove_submenu_page('pdf-print.php', 'pdf-print.php');
//Hide "PDF & Print → Headers Footers".
remove_submenu_page('pdf-print.php', 'pdf-print-templates.php');
//Hide "PDF & Print → BWS Panel".
remove_submenu_page('pdf-print.php', 'pdfprnt-bws-panel');
//Hide "PDF & Print → Upgrade to Pro".
remove_submenu_page('pdf-print.php', 'https://bestwebsoft.com/products/wordpress/plugins/pdf-print/?k=d9da7c9c2046bed8dfa38d005d4bffdb&pn=101&v=2.4.1&wp_v=6.8.1');
}
add_action('admin_menu', 'plt_hide_pdf_print_menus', 11);
Where do I put this code?