Home › Forums › Backend Issues (wp-admin) › How to dynamically populate repeated with all posts from a custom type? › Reply To: How to dynamically populate repeated with all posts from a custom type?
Here’s how far I got:
add_filter('acf/load_field/name=addons', 'co_acf_load_default_addons', 10, 3);
function co_acf_load_default_addons($field) {
$field['choices'] = array(1593, 1553, 1588);
return $field;
}
But it’s not there yet… Any suggestions?
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.