Home › Forums › ACF PRO › ACF Custom Field Type › Reply To: ACF Custom Field Type
Stripped back it looks like this :-
<input type="text" name="<?php echo esc_attr($field['name']) ?>image" id="image_url"
class="regular-text"
value="<?php echo esc_attr($field['value']['image']) ?>">
echo '<input type="text" id="pin_json" name="' . esc_attr($field['name']) . 'json' . '" value="' . esc_attr($field['value']['json']) . '" /> ';
Also modified the value to store an array that looks like this.
[value] => Array
(
[image] =>
[json] =>
)
But it still wont save my values 🙁 !
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.