wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_wp_setup_nav_menu_item › WordPress Filter Hooks
Since6.3.0
Deprecatedn/a
› apply_filters( 'pre_wp_setup_nav_menu_item', null, $menu_item )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters whether to short-circuit the wp_setup_nav_menu_item() output.
Returning a non-null value from the filter will short-circuit wp_setup_nav_menu_item(), returning that value instead.
Related Functions: wp_setup_nav_menu_item, wp_get_nav_menu_items, wp_save_nav_menu_items, wp_update_nav_menu_item, _sort_nav_menu_items, _wp_delete_tax_menu_item