Remove menu item from WordPress navigation menu

Today I needed to dynamically modify wordpress navigation menu from a custom plugin depending on some conditions. I couldn’t find the solution. So I read the codes which renders navigation menu on wordpress to remove some items from menu on-the-fly:

Read More »

Advertisements