rest_pre_insert_nav_menu_item – filter

Filters a menu item before it is inserted via the REST API. 

Parameters

.
( 5.9.0 ) . .
( object ) $prepared_nav_item An object representing a single menu item prepared for inserting or updating the database. . . .
$request
( WP_REST_Request ) Request object. . . .
API Letters: ,,,,

Implementers