Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

how do i change current menu item names?

I have a form that gets the new names the user chose from front.

I can not find anywhere a function that handles it.

this function:

 wp_nav_menu_update_menu_items()

returns an error that says there is no such function.

Should I change the information directly in the database?

Or is there a simpler way to do this?

share|improve this question
1  
I you are running > 3.6 that function should be available. You are probably trying to use it too early. Post your code please. –  s_ha_dum Dec 25 '13 at 17:28
    
its not short, and i dont care using somone elses code. im not fixd on that function. im willing to use alterntivs like editing database rows,but i cant find whre wordpress saves that data. about too early, ill try to fix it,it calls the code on init. –  rolen Dec 25 '13 at 17:33
    
Your comment is hard to follow (and you should clean up the question as well) but the problem is with your code. If you don't post it, the question is hard to answer. –  s_ha_dum Dec 25 '13 at 17:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.