wp_create_nav_menu

Advertisement

Summery Summery

Fires after a navigation menu is successfully created.

Syntax Syntax

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

Parameters Parameters

$term_id

ID of the new menu.

$menu_data

An array of menu data.

Source Source

File: wp-includes/nav-menu.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply