Home › Forums › ACF PRO › Can't retrieve repeater values from options page › Reply To: Can't retrieve repeater values from options page
I figured out what’s going wrong:
In the ACF RGBA Color Picker the apply_filters( "acf/acfrb_color_picker/palette", true )
in set in the __construct()
of the field class in the $this->settings = array()
. This setting is later used in a wp_localize_script()
function in the function input_admin_enqueue_scripts()
That seems to be to early. I moved the apply_filters...
directly in the localized script part and now it works.
Maybe you get an idea why this is working if setting the fields with ACF field groups page and not working if fields created via PHP.
Thanks again for your help!
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.