wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_nav_menus › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_get_nav_menus', get_terms( $args )
Parameters: (2)
  • (WP_Term[]) $menus An array of menu objects.
    Required: Yes
  • (array) $args An array of arguments used to retrieve menu objects.
    Required: Yes
Defined at:
Codex:

Filters the navigation menu objects being returned.





Source

return apply_filters( 'wp_get_nav_menus', get_terms( $args ), $args );