wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_wp_nav_menu › WordPress过滤钩子
Since3.9.0
已弃用n/a
› apply_filters( 'pre_wp_nav_menu', null, $args )
参数: (2) |
|
定义在: |
|
文档: |
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.
Related Functions: wp_nav_menu, wp_get_nav_menus, register_nav_menu, is_nav_menu, wp_nav_menu_setup, wp_create_nav_menu
Related Hooks: wp_nav_menu, pre_wp_setup_nav_menu_item, wp_nav_menu_args, wp_get_nav_menus, wp_nav_menu_items