My goal:
Create a modified Layout Builder Widget to be used in “mega menu” type of widget area.
Modifications include:
– adding a title
– adding an icon
The problem:
Layout Builder Widget doesn’t seem to use $form_options as other SO widgets do. (I guess) it can’t be called with $form_options like for example icons can:
ie:
$form_options = array( 'some_icon' => array( 'type' => 'icon', 'label' => __('Select an icon', 'widget-form-fields-text-domain'), ) )
Is there another way to get the layout builder functionality inside a custom widget?
Thanks.
bump.