rest_after_insert_nav_menu_item – action
Fires after a single menu item is completely created or updated via the REST API.
Parameters
- .
- ( 5.9.0 ) . .
- ( object ) $nav_menu_item Inserted or updated menu item object. . . .
- $request
- ( WP_REST_Request ) Request object. . . .
- ( bool ) $creating True when creating a menu item, false when updating. . . .