function plt_hide_web3_token_gate_menus() { //Hide the "Web3 Token Gate" menu. remove_menu_page('web3-token-gate'); } add_action('admin_menu', 'plt_hide_web3_token_gate_menus', 1000000000);
Where do I put this code?