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.