Used By
Used By | Description |
---|---|
wp-includes/widgets/class-wp-nav-menu-widget.php: WP_Nav_Menu_Widget::widget() | Outputs the content for the current Navigation Menu widget instance. |
Filters the arguments for the Navigation Menu widget.
(array) An array of arguments passed to wp_nav_menu() to retrieve a navigation menu.
(callable|bool) Callback to fire if the menu doesn't exist. Default empty.
(mixed) Menu ID, slug, or name.
(WP_Term) Nav menu object for the current menu.
(array) Display arguments for the current widget.
(array) Array of settings for the current widget.
Version | Description |
---|---|
4.4.0 | Added the $instance parameter. |
4.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/widget_nav_menu_args