-
Home
-
CustomTables – Create, Read, Update and Delete
- Tips
function plt_hide_customtables_menus() {
remove_menu_page('customtables');
remove_submenu_page('customtables', 'customtables');
remove_submenu_page('customtables', 'customtables-tables');
remove_submenu_page('customtables', 'customtables-layouts');
remove_submenu_page('customtables', 'customtables-import-tables');
remove_submenu_page('customtables', 'customtables-schema');
remove_submenu_page('customtables', 'customtables-documentation');
remove_submenu_page('customtables', 'customtables-settings');
}
add_action('admin_menu', 'plt_hide_customtables_menus', 11);
Where do I put this code?