Function __global->delete_menu_item
Definitions
sources/menus2.php
- Delete a menu item.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $id | AUTO_LINK | No | No | required parameter | N/A | N/A | The ID of the menu item to delete |
Preview
Code (PHP)
/**
* Delete a menu item.
*
* @param AUTO_LINK $id The ID of the menu item to delete
*/
function delete_menu_item(int $id)
* Delete a menu item.
*
* @param AUTO_LINK $id The ID of the menu item to delete
*/
function delete_menu_item(int $id)

