How do I delete a menu item I just created?

The method delete() requires an id but I just want to delete the menu item I created. Do I need to call delete()

for all ids? Is there another way to do this?

댓글 1개

  • 0
    Isaac Reuben

    Hey Shani,

    You can use find() to see which ActionMenuItems are defined already, and then delete the one that you don't want anymore. 


    - Isaac

댓글을 남기려면 로그인하세요.