remove specific class from menu item

I want to remove some specific class names from the menu items
For example I need to remove classes of fa and fa-desktop from all menu items in WordPress

<li id="menu-item-21" class="dropdown-header fa fa-desktop menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children dropdown col-sm-4 menu-col menu-item-21 dropdown">

I use a walker for my menus , So if it can help let me know
Thank you

Read more here: remove specific class from menu item

Leave a Reply

Your email address will not be published. Required fields are marked *