How to export custom post type with ACF to individual file with automation?

Schedule your backup with WP Cron – https://codex.wordpress.org/Function_Reference/wp_schedule_event In the cron event, run your query for posts or CPTs and be sure to add ‘numberposts’ => -1, to return all. When you loop through your posts from the resulting query, push the values to an array $data[]=$some_string_data_for_prop; https://www.advancedcustomfields.com/resources/get_field/ https://developer.wordpress.org/reference/functions/get_post_meta/ https://codex.wordpress.org/Class_Reference/WP_Post And when you’re ready to … Read more

How to populate a Gravity Forms Custom Post Field (dropdown type) with custom taxonomy terms? [closed]

For anyone who needs help with this, here’s my solution. With the Gravity Forms hooks gform_pre_render, gform_pre_validation, gform_pre_submission_filter and gform_admin_pre_render I was able to populate the dropdown fields with dynamic data. Despite this is not too user friendly, we can define specific CSS classes to have this done and avoid populate fields that we don’t … Read more