I am using the nav_menu walker class for my drop-down menu. I've designed it so it doesn't need to use any classes or ids, except those specified by the user when they create their menu. How can I remove the extraneous class names and ids from my menu? (they don't actually do any harm, but it's ugly markup).
I thought I would extend the Walker class and remove the parts of the function that write the classes, but I don't know how. My problem is I need to keep the user specified classes.
Here is a function that has the class stuff in it. Can someone help me remove the wordpress generated classes and ids?