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?
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?
Hey Shani,
You can use find() to see which ActionMenuItems are defined already, and then delete the one that you don't want anymore.
Cheers,
- Isaac