Skip to content

Instantly share code, notes, and snippets.

@donaldallen
Created August 8, 2013 15:31
Show Gist options
  • Save donaldallen/6185664 to your computer and use it in GitHub Desktop.
Save donaldallen/6185664 to your computer and use it in GitHub Desktop.
(array) Array
(
[key] => field_5203ab0ca23ee
[label] => Question
[name] => question
[type] => repeater
[order_no] => 0
[instructions] =>
[required] => 1
[id] => acf-field-question
[class] => repeater
[conditional_logic] => Array
(
[status] => 0
[rules] => Array
(
[0] => Array
(
[field] => null
[operator] => ==
[value] =>
)
)
[allorany] => all
)
[sub_fields] => Array
(
[0] => Array
(
[key] => field_5203ab1ba23ef
[label] => Knowledge Level
[name] => knowledge_level
[type] => select
[order_no] => 0
[instructions] =>
[required] => 0
[id] => acf-field-knowledge_level
[class] => select
[conditional_logic] => Array
(
[status] => 0
[allorany] => all
[rules] => 0
)
[column_width] =>
[choices] => Array
(
[beginner] => Beginner
[basic] => Basic
[advanced] => Advanced
[expert] => Expert
)
[default_value] =>
[allow_null] => 0
[multiple] => 0
)
[1] => Array
(
[key] => field_5203ab72a23f0
[label] => Question
[name] => question
[type] => text
[order_no] => 1
[instructions] =>
[required] => 0
[id] => acf-field-question
[class] => text
[conditional_logic] => Array
(
[status] => 0
[allorany] => all
[rules] => 0
)
[column_width] =>
[default_value] =>
[formatting] => none
)
[2] => Array
(
[key] => field_5203ab7ea23f1
[label] => Answers
[name] => answers
[type] => repeater
[order_no] => 2
[instructions] =>
[required] => 0
[id] => acf-field-answers
[class] => repeater
[conditional_logic] => Array
(
[status] => 0
[allorany] => all
[rules] => 0
)
[column_width] =>
[sub_fields] => Array
(
[0] => Array
(
[key] => field_5203ab8ba23f2
[label] => Answer
[name] => answer
[type] => text
[order_no] => 0
[instructions] =>
[required] => 0
[id] => acf-field-answer
[class] => text
[conditional_logic] => Array
(
[status] => 0
[allorany] => all
[rules] => 0
)
[column_width] =>
[default_value] =>
[formatting] => none
)
[1] => Array
(
[key] => field_5203aba0a23f3
[label] => Correct Answer?
[name] => correct_answer
[type] => true_false
[order_no] => 1
[instructions] =>
[required] => 0
[id] => acf-field-correct_answer
[class] => true_false
[conditional_logic] => Array
(
[status] => 0
[allorany] => all
[rules] => 0
)
[column_width] =>
[message] =>
[default_value] => 0
)
)
[row_min] => 0
[row_limit] =>
[layout] => table
[button_label] => Add Row
)
)
[row_min] => 0
[row_limit] =>
[layout] => row
[button_label] => Add Question
[field_group] => 32
[value] => Array
(
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment