Advance Post Creation - Mapping File Upload Pro field to ACF Gallery

I am using the GF Advanced Post Creation addon. I have a numerous simple fields mapped to ACF custom fields using a basic function…

add_action('gform_advancedpostcreation_post_after_creation_1', 'my_gf_new_organization', 10, 4);
function my_gf_new_organization($post_id, $feed, $entry, $form) {
  update_post_meta( $post_id, 'event_date', $entry['13'] );
 update_post_meta( $post_id, 'event_time', $entry['14'] );
 update_post_meta( $post_id, 'location', $entry['15'] );	

However, I now need to add a (multiple) File Upload Pro field to an ACF gallery custom field.

Where on Earth do I begin?!



Hi Antar. Have you checked with Gravity Wiz support for the File Upload Pro field? They may have a snippet for this already.

We’ve been able to assist Antar via email, but for other users who may be interested, here’s a tutorial documentation to get this done.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.