Good morning
I have the need to hide some menu items from the client.
I have found a solution for all of them or almost, but the item Elements of Generatorpress I just can’t.
I have tried several solutions without result
remove_submenu_page( 'edit.php', 'gp_elements' ); // GeneratePress Elements
remove_menu_page( 'edit.php?post_type=gp_elements' ); //GeneratePress Elements