Skip to content
Nadim Tuhin edited this page Aug 15, 2015 · 1 revision

Menu field is essential tool in Onepager, It bring you all created Menus like primary menu, footer menu and so on. alt text

Preview

Arguments

Name Type Default Description
type string menu This Value identifies the field type
name string A unique name required to define
label string Displays as field label
value int Page name should in menu name

Example Code

array(
      'name'  => 'title', // Required
      'type'  => 'menu',
      'label' => 'Title', // Optional, name will use instead
      'value' => '' //optional
),