WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about wp_setup_nav_menu_item

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/nav-menu.php apply_filters 994 /**
* Filters a navigation menu item object.
* @since 3.0.0
* @param object $menu_item The menu item object.
wp-includes/customize/class-wp-customize-nav-menu-item-setting.php apply_filters 644 /**
* Get the value emulated into a WP_Post and set up as a nav_menu_item.
* @since 4.3.0
* @return WP_Post With wp_setup_nav_menu_item() applied.

Hook Parameters

Parameter Type Name Description
object $menu_item The menu item object.