$args->has_children not working with start_el()
I just resolved this issue! Woo hoo! The thing is that using var_dump($args) shows a lot stuff like so: object(stdClass)#152 (16) { [“menu”]=> object(WP_Term)#145 (10) { [“term_id”]=> int(2) [“name”]=> string(9) “Main menu” [“slug”]=> string(9) “main-menu” [“term_group”]=> int(0) [“term_taxonomy_id”]=> int(2) [“taxonomy”]=> string(8) “nav_menu” [“description”]=> string(0) “” [“parent”]=> int(0) [“count”]=> int(12) [“filter”]=> string(3) “raw” } [“container”]=> string(0) … Read more