custom walker wp menu last element

If you can live without re-creating the menu walker, you can add classes to menu items manually.

On the WordPress menu editing screen, click on “Screen Options” and enable “CSS Classes.” Then you’ll be able to add whatever class you want to whichever list item.

Creating a custom Walker for something like this will be complicated, to say the least.