wp_get_associated_nav_menu_items Wordpress function


Description:

Get the menu items associated with a particular object.


Syntax:


Arguments:

(int) $object_id The ID of the original object.
(string) $object_type The type of object, such as "taxonomy" or "post_type."


Return Type:

(array) The array of menu item IDs; empty array if none;


Define At:

wp-includes/nav-menu.php


Wordpress Reference URL:

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


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