Filters the number of locations listed per menu in the drop-down select.
Parameters
$locations
int- Number of menu locations to list. Default 3.
Source
$locations_listed_per_menu = absint( apply_filters( 'wp_nav_locations_listed_per_menu', 3 ) );
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.