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



wp_nav_menu › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_nav_menu', $nav_menu, $args )
Parameters: (2)
  • (string) $nav_menu The HTML content for the navigation menu.
    Required: Yes
  • (stdClass) $args An object containing wp_nav_menu() arguments.
    Required: Yes
Defined at:
Codex:

Filters the HTML content for navigation menus.





Source

$nav_menu = apply_filters( 'wp_nav_menu', $nav_menu, $args );