Fires after a single menu item is completely created or updated via the REST API.
Parameters
$nav_menu_item
object- Inserted or updated menu item object.
$request
WP_REST_Request- Request object.
$creating
bool- True when creating a menu item, false when updating.
Source
do_action( 'rest_after_insert_nav_menu_item', $nav_menu_item, $request, true );
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.