WordPress at Your Fingertips
filter is not described

wp_nav_locations_listed_per_menu filter-hook . WP 3.6.0

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


add_filter( 'wp_nav_locations_listed_per_menu', 'filter_function_name_329' );
function filter_function_name_329( $locations ){
	// filter...

	return $locations;
Number of menu locations to list.
Default: 3


Since 3.6.0 Introduced.

Where the hook is called

In file: /wp-admin/nav-menus.php
wp-admin/nav-menus.php 881
$locations_listed_per_menu = absint( apply_filters( 'wp_nav_locations_listed_per_menu', 3 ) );

Where in WP core the hook is used WordPress

Usage not found.