wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_pre_insert_nav_menu_item › WordPress Filter Hooks
Since5.9.0
Deprecatedn/a
› apply_filters( 'rest_pre_insert_nav_menu_item', $prepared_nav_item, $request )
Parameters: (2) |
|
Defined at: | |
Codex: |
Filters a menu item before it is inserted via the REST API.
Related Functions: wp_setup_nav_menu_item, _sort_nav_menu_items, wp_get_nav_menu_items, is_nav_menu_item, wp_save_nav_menu_items, get_registered_nav_menus