Fires immediately after a new navigation menu item has been added.
$menu_idint
$menu_item_db_idint
$argsarray
do_action( 'wp_add_nav_menu_item', $menu_id, $menu_item_db_id, $args );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_add_nav_menu_item