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

(int) ID of the new menu.

$menu_data

(array) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.