function plt_hide_remove_xmlrpc_pingback_ping_menus() { //Hide the "Tools → RXPP" menu. remove_submenu_page('tools.php', 'xrpp-plugin'); } add_action('admin_menu', 'plt_hide_remove_xmlrpc_pingback_ping_menus', 11);
Where do I put this code?