wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
pre_wp_nav_menu › Filtr WordPress Hooks
Od3.9.0
Przestarzałyn/a
› apply_filters( 'pre_wp_nav_menu', null, $args )
Parametry: (2) |
|
Zdefiniowane na: |
|
Codex: |
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.
Powiązane Funkcje: wp_nav_menu, wp_get_nav_menus, register_nav_menu, is_nav_menu, wp_nav_menu_setup, wp_create_nav_menu
Powiązane Hooks: wp_nav_menu, pre_wp_setup_nav_menu_item, wp_nav_menu_args, wp_get_nav_menus, wp_nav_menu_items