With regards the menu item id’s WP generates such as menu-item-814
, are these 100% unique in nature?
I know they are unique at the time, but are they always unique? Meaning that if I was to delete something that had the id of 814, is it possible that some other menu item could now be assigned this ID? …or if WordPress was updated do they still keep the same ID’s?
I ask because I want to assign something to a certain menu button via JavaScript but on the off chance the button is removed I don’t want to be applied to a new button that has now been assigned that ID.