Dynamically populate an ACF field

Documentation Menu

Dynamically populate an ACF field

You can dynamically populate an ACF dropdown field with a list of all the calendars created in the plugin.

To do so, add the following code to your theme’s functions.php file. You will have to replace the field_key in the hook with your actual field_key.

Was this article helpful?

Yes (2) No

We're sorry to see this article wasn't as helpful as we hoped it would be. Please let us know what you were looking for so that we can improve this documentation page.

Full CTA BG
Is WP Booking System a good fit for you?

Tell us about your business activity & plugin requirements and we'll let you know if WP Booking System is right for you.

Have a support question? Please use this form instead.