Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/nav-menu-template.php | apply_filters | 113 | /** * Filters whether to short-circuit the wp_nav_menu() output. * * Returning a non-null value from the filter will short-circuit wp_nav_menu(), * echoing that value if $args->echo is true, returning that value otherwise. * * @since 3.9.0 * * @see wp_nav_menu() * * @param string|null $output Nav menu output to short-circuit with. Default null. * @param stdClass $args An object containing wp_nav_menu() arguments. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string|null | $output | Nav menu output to short-circuit with. Default null. |
stdClass | $args | An object containing wp_nav_menu() arguments. |