| 1352 | /** |
| 1353 | * Filter the arguments for the Custom Menu widget. |
| 1354 | * |
| 1355 | * @since 4.2.0 |
| 1356 | * |
| 1357 | * @param array $nav_menu_args { |
| 1358 | * An array of arguments passed to wp_nav_menu() to retrieve a custom menu. |
| 1359 | * |
| 1360 | * @type callback|bool $fallback_cb Callback to fire if the menu doesn't exist. Default empty. |
| 1361 | * @type mixed $menu Menu ID, slug, or name. |
| 1362 | * } |
| 1363 | * @param stdClass $nav_menu Nav menu object for the current menu. |
| 1364 | * @param array $args Display arguments for the current widget. |
| 1365 | */ |
| 1366 | wp_nav_menu( apply_filters( 'widget_nav_menu_args', $nav_menu_args, $nav_menu, $args ) ); |
| 1367 | |