function plt_hide_elfsight_social_share_buttons_menus() { //Hide the "Social Share Buttons" menu. remove_menu_page('elfsight-social-share-buttons'); } add_action('admin_menu', 'plt_hide_elfsight_social_share_buttons_menus', 11);
Where do I put this code?