wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_pre_insert_nav_menu_item › WordPress过滤钩子
Since5.9.0
已弃用n/a
› apply_filters( 'rest_pre_insert_nav_menu_item', $prepared_nav_item, $request )
参数: (2) |
|
定义在: | |
文档: |
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, wp_save_nav_menu_items, is_nav_menu_item, get_registered_nav_menus