How to Hide the "Rise Blocks" Admin Menu

function plt_hide_rise_blocks_menus() {
	//Hide the "Rise Blocks" menu.
	remove_menu_page('rise_blocks');
}

add_action('admin_menu', 'plt_hide_rise_blocks_menus', 11);

Where do I put this code?