I’ve been ready so as to add menu objects with this assertion, this nonetheless creates a flat menu. The menu has been created already. I simply want so as to add objects.
wp_update_nav_menu_item(4, 0, array('menu-item-title' => __($post_title), 'menu-item-url' => home_url('/'.$url.'/'), 'menu-item-status' => 'publish'));
that is tremendous easy to make use of. How do I add a sub-menu merchandise?