Function menu_edit_setup
An $item object is typically passed into the Walker that displays the menu on the frontend. That $item object is useful for analysis. When extending the custom fields in the backend Appearance >> Menu screen, the $item object should be extended as well.
Parameters summary
type |
$menu_item |
The instance of the menu item |
Return value summary
type
|
The new item instance |