WordPress at a glance
action is not described

wp_add_nav_menu_item action-hook . WP 4.4.0

Fires immediately after a new navigation menu item has been added.


add_action( 'wp_add_nav_menu_item', 'action_function_name_3999', 10, 3 );
function action_function_name_3999( $menu_id, $menu_item_db_id, $args ){
	// action...
ID of the updated menu.
ID of the new menu item.
An array of arguments used to update/add the menu item.

Where the hook is called

wp-includes/nav-menu.php 526
do_action( 'wp_add_nav_menu_item', $menu_id, $menu_item_db_id, $args );

Where the hook is used (in WP core)

Использование не найдено.