This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Attach images uploaded through Gravity Form to ACF Gallery Field | |
* | |
* @author Joshua David Nelson, josh@joshuadnelson.com | |
* @return void | |
*/ | |
add_filter( "gform_after_submission_3", 'jdn_set_post_acf_gallery_field', 10, 2 ); |