do_action( ‘wp_create_nav_menu’, int $term_id, array $menu_data )

In this article

Fires after a navigation menu is successfully created.

Parameters

$term_idint
ID of the new menu.
$menu_dataarray
An array of menu data.

Source

do_action( 'wp_create_nav_menu', $_menu['term_id'], $menu_data );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.