wp_update_nav_menu_object Wordpress function


Description:

Save the properties of a menu or create a new menu with those properties.


Syntax:


Arguments:

(int) $menu_id The ID of the menu or "0" to create a new menu.
(array) $menu_data The array of menu data.


Return Type:

(int|error) object The menu's ID or WP_Error object.


Define At:

wp-includes/nav-menu.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_update_nav_menu_object


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×