Hi sitedesigndev,
If you look at line 143 you will see the whole <li> is run through a filter.
You will need to use this filter to modify the returned value. Untested, but something like:
function add_item_props( $item_output, $item, $depth, $args ) {
$return_value = $item_output;
// at this point $return value will be something like
// <li class='mega-menu-item'><a href='url'>Link name</a></li>
// modify the return value using regex or str_replace
// you are on your own for this bit
return $return_value;
}
add_filter('megamenu_walker_nav_menu_start_el', 'add_item_props', 10, 4);
Regards,
Tom