wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_create_nav_menu › WordPress Action Hooks

Since3.0.0
Deprecatedn/a
do_action( 'wp_create_nav_menu', $_menu['term_id'], $menu_data )
Parameters: (2)
  • (int) $term_id ID of the new menu.
    Required: Yes
  • (array) $menu_data An array of menu data.
    Required: Yes
Defined at:
Codex:

Fires after a navigation menu is successfully created.





Source

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