I'm building a site's navigation bar programmatically, using the following code: wp_update_nav_menu_item($menu->term_id, 0, array( 'menu-item-title' => $page_data->post_title, ...
Question changed due to new developments! I was loooking for a way to hack the menu items in the custom menu page to add a "hide" checkbox and other options. The only way I found is to override the ...
Through API functions, I want to define a new Navigation menu, select it in the current theme, and then insert a few Pages as menu items. This is to be done for instance on a theme activation. ...