do_action( 'wp_create_nav_menu', int $term_id, array $menu_data )

Fires after a navigation menu is successfully created.


Parameters

$term_id int
ID of the new menu.
$menu_data array
An array of menu data.

Top ↑

Source

File: wp-includes/nav-menu.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

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