Skip to content

Commit

Permalink
added 2 new parameters for addable-*
Browse files Browse the repository at this point in the history
'add-button-text' => __('Add', 'fw'),
'sortable' => true,
  • Loading branch information
moldcraft committed Aug 26, 2015
1 parent 0fcae9f commit 2771447
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions options/built-in-option-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,8 @@ Create a list of options.
'desc' => __('Description', 'fw'),
'help' => __('Help tip', 'fw'),
'option' => array( 'type' => 'text' ),
'add-button-text' => __('Add', 'fw'),
'sortable' => true,
)
.. rubric:: Custom Events
Expand Down Expand Up @@ -759,6 +761,8 @@ Addable box with options.
'control-id' => '<small class="dashicons dashicons-smiley"></small>',
),
'limit' => 0, // limit the number of boxes that can be added
'add-button-text' => __('Add', 'fw'),
'sortable' => true,
)
.. rubric:: Custom Events
Expand Down Expand Up @@ -823,6 +827,8 @@ Addable popup with options.
'popup-title' => null,
'size' => 'small', // small, medium, large
'limit' => 0, // limit the number of popup`s that can be added
'add-button-text' => __('Add', 'fw'),
'sortable' => true,
'popup-options' => array(
'demo_text' => array(
'label' => __('Text', 'fw'),
Expand Down

0 comments on commit 2771447

Please sign in to comment.