wp_nav_locations_listed_per_menu

SummerySummery

Filters the number of locations listed per menu in the drop-down select.

Syntax

apply_filters( 'wp_nav_locations_listed_per_menu', int $locations )

ParametersParameters

$locations

(int) Number of menu locations to list. Default 3.

SourceSource

File: wp-admin/nav-menus.php

ChangelogChangelog

Changelog
Version Description
3.6.0 Introduced.
Scroll to Top