rest_delete_nav_menu_item

rest_delete_nav_menu_item

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('rest_delete_nav_menu_item') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php line 314
    		 * @param object          $nav_menu_item Inserted or updated menu item object.
    		 * @param WP_REST_Response $response The response data.
    		 * @param WP_REST_Request $request       Request object.
    		 */
    		do_action( 'rest_delete_nav_menu_item', $menu_item, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepares a single nav menu item for create or update.