Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created June 7, 2016 21:54
Show Gist options
  • Save billerickson/25535a9e82b32ce0219cbbf944477501 to your computer and use it in GitHub Desktop.
Save billerickson/25535a9e82b32ce0219cbbf944477501 to your computer and use it in GitHub Desktop.
CMB2_Field Object
(
[object_id] => be_sidebar_selector_options
[object_type] => options-page
[args] => Array
(
[type] => text
[name] => Slug
[desc] =>
[before] =>
[after] =>
[options_cb] =>
[options] => Array
(
)
[attributes] => Array
(
[disabled] => 1
)
[protocols] =>
[default] =>
[select_all_button] => 1
[multiple] =>
[repeatable] =>
[inline] =>
[on_front] => 1
[show_names] => 1
[date_format] => m\/d\/Y
[time_format] => h:i A
[description] =>
[preview_size] => Array
(
[0] => 50
[1] => 50
)
[render_row_cb] => Array
(
[0] => CMB2_Field Object
*RECURSION*
[1] => render_field_callback
)
[label_cb] => Array
(
[0] => CMB2_Field Object
*RECURSION*
[1] => label
)
[id] => widget_areas_1_slug
[sanitization_cb] => be_sidebar_selection_sanitize_slug
[_id] => slug
[_name] => widget_areas[1][slug]
[has_supporting_data] =>
)
[group] => CMB2_Field Object
(
[object_id] => be_sidebar_selector_options
[object_type] => options-page
[args] => Array
(
[type] => group
[name] =>
[desc] =>
[before] =>
[after] =>
[options_cb] =>
[options] => Array
(
[add_button] => Add Widget Area
[remove_button] => Remove Widget Area
[group_title] => Widget Area {#}
[sortable] =>
)
[attributes] => Array
(
)
[protocols] =>
[default] =>
[select_all_button] => 1
[multiple] =>
[repeatable] => 1
[inline] =>
[on_front] => 1
[show_names] => 1
[date_format] => m\/d\/Y
[time_format] => h:i A
[description] =>
[preview_size] => Array
(
[0] => 50
[1] => 50
)
[render_row_cb] => Array
(
[0] => CMB2_Field Object
*RECURSION*
[1] => render_field_callback
)
[label_cb] => Array
(
[0] => CMB2_Field Object
*RECURSION*
[1] => label
)
[id] => widget_areas
[fields] => Array
(
[name] => Array
(
[name] => Name
[id] => name
[type] => text
[description] => The name is how it appears in Appearance > Widgets.
)
[slug] => Array
(
[name] => Slug
[id] => slug
[type] => text
[sanitization_cb] => be_sidebar_selection_sanitize_slug
[attributes] => Array
(
[disabled] => 1
)
)
[description] => Array
(
[name] => Description
[id] => description
[type] => textarea
)
)
[_id] => widget_areas
[_name] => widget_areas
[has_supporting_data] =>
)
[group] =>
[value] => Array
(
[0] => Array
(
[name] => Contact
[slug] => test
[description] => Sidebar for the contact page
)
[1] => Array
(
[name] => Services
[slug] => test
[description] => Services sidebar
)
)
[escaped_value] =>
[index] => 0
[field_options:protected] => Array
(
)
[callback_results:protected] => Array
(
)
[data_to_save] => Array
(
[object_id] => be_sidebar_selector_options
[nonce_CMB2phpbe_sidebar_selector_option_metabox] => 2237dccddc
[widget_areas] => Array
(
[0] => Array
(
[name] => Contact
[description] => Sidebar for the contact page
)
[1] => Array
(
[name] => Services
[description] => Services sidebar
)
)
[submit-cmb] => Save
)
)
[value] => test
[escaped_value] =>
[index] => 0
[field_options:protected] => Array
(
)
[callback_results:protected] => Array
(
)
[data_to_save] => Array
(
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment