-
Home
-
WP Content Copy Protection & No Right Click
- Tips
function plt_hide_wp_content_copy_protector_menus() {
//Hide the "Copy Protection" menu.
remove_menu_page('wccpoptionspro');
//Hide the "Copy Protection → Settings" menu.
remove_submenu_page('wccpoptionspro', 'wccpoptionspro');
//Hide the "Copy Protection → More Plugins" menu.
remove_submenu_page('wccpoptionspro', 'http://127.0.0.1/wp-admin/plugin-install.php?s=wp-buy&tab=search&type=author');
}
add_action('admin_menu', 'plt_hide_wp_content_copy_protector_menus', 11);
Where do I put this code?