0

This is probably a silly question, but I'm new to wordpress development so easily confused at the moment. Code:

array(
'label' => 'Repeatable',
'desc' => 'A description for the field.',
'id' => $prefix.'repeatable',
'type' => 'repeatable'
)

My Q: Is 'repeatable' a standard feature of wordpress, or is it something the developer has created? (have picked this code off the internet to learn).

Thank-you!

2

WordPress has no real form API, you have to create almost all form elements from scratch.

'type' => 'repeatable' is part of an external library.

Google lead me to this article: Reusable Custom Meta Boxes Part 3: Extra Fields – maybe a starting point for your research?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.