Home › Forums › Feature Requests › [Flexible Content] Auto add block if there is only one choice › Reply To: [Flexible Content] Auto add block if there is only one choice
Since the flexible-content field is only in the pro, I don’t think it’d be a good idea for me to include the full file, but here is a diff:
https://gist.github.com/trex005/409f1fd873b9487a040ec79b6440a0cf
If there is any interest I can look into turning it into an addon.
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.