-
-
Save kjohnson/5fe5c8583093c3d69ca1c351d90ebbbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
'options' = array( | |
'name' => 'options', | |
'type' => 'option-repeater', | |
'label' => __( 'Options' ) . ' <a href="#" class="nf-add-new">' . __( 'Add New' ) . '</a>', | |
'width' => 'full', | |
'group' => 'primary', | |
'columns' => array( | |
'label' => array( | |
'column1' => __( 'Column One' ), | |
'default' => '', | |
), | |
), | |
/* Optional */ | |
'value' => array( | |
array( 'label' => 'Default Option', 'order' => 0 ), | |
), | |
/* Optional */ | |
'tmpl_row' => 'nf-tmpl-custom-repeater-row' | |
); | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment