wp_get_nav_menu_name

Advertisement

Summery Summery

Filters the navigation menu name being returned.

Syntax Syntax

apply_filters( 'wp_get_nav_menu_name', string $menu_name, string $location )

Parameters Parameters

$menu_name

Menu name.

$location

Menu location identifier.

Source Source

File: wp-includes/nav-menu.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.0 Introduced.

Advertisement

Leave a Reply