Adding a Menu Layout
The Fusion Menu Element has built-in functionality that allows it to be expanded with additional layouts. This helps to keep the Fusion UI from getting cluttered with overly similar elements while keeping like-functionality conveniently grouped.
Adding a Menu Layout is a simple two step process:
1. Use the add_menu_layout filter to define the name and parameters of your menu layout in an array. Then give this array a unique key name and add it to the array of defined menu layouts that gets passed to the filter.
2. Add a function to return the output of your menu layout. This function gets called by the [fsn_menu] shortcode and must follow the naming format fsn_get_[menu layout key]_menu.
Now when you select your menu layout from the Type select box in the Menu element, the parameters you have defined will be loaded into the element for the user to populate.
Example