wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_delete_nav_menu_item › WordPress Action Hooks

Since5.9.0
Deprecatedn/a
do_action( 'rest_delete_nav_menu_item', $menu_item, $response, $request )
Parameters: (3)
  • (object) $nav_menu_item Inserted or updated menu item object.
    Required: Yes
  • (WP_REST_Response) $response The response data.
    Required: Yes
  • (WP_REST_Request) $request Request object.
    Required: Yes
Defined at:
Codex:

Fires immediately after a single menu item is deleted via the REST API.





Source

do_action( 'rest_delete_nav_menu_item', $menu_item, $response, $request );