How to Hide the "Page Animations" Admin Menu

function plt_hide_page_animations_and_transitions_menus() {
	//Hide the "Page Animations" menu.
	remove_menu_page('weblizar-page-animation');
}

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

Where do I put this code?