reemplazar la clase
// ph means placeholder which will be use as a demo name.
// replace class with has-children instead of menu-item-has-children
$ph = str_replace('menu-item-has-children', 'has-children', $ph);
Happy Mood