[wp-hackers] Pages list in Nav Menu editor

Austin Matzko austin at ilfilosofo.com
Wed Jun 23 18:06:08 UTC 2010

On Wed, Jun 23, 2010 at 1:01 PM, Arlen Beiler <arlenbee at gmail.com> wrote:
> How is the pages list generated in the nav menu editor and how can I change
> it?

By menu order of the pages and then title order.

Filter "nav_menu_meta_box_object" and change the _default_query
property (see the _wp_nav_menu_meta_box_object function in
wp-admin/includes/nav-menu.php for default behavior).

More information about the wp-hackers mailing list