Add method for deleting menu items

Created on 23 February 2024, 9 months ago

Problem/Motivation

It would be nice to have a way to delete a menu item and optionally any children.

deleteMenuItem(string $menu_item, string $parent,  string $new_parent_for_children = NULL)

If $new_parent_for_children is NULL, then delete parent, otherwise, move the children to the new parent.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024