Last active
October 15, 2021 15:45
-
-
Save spivurno/51df05b385c0b93f3eef7c582a2d9d13 to your computer and use it in GitHub Desktop.
Gravity Perks // GP Copy Cat // Filter Copy Cat Fields
This file contains hidden or 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 | |
/** | |
* Gravity Perks // GP Copy Cat // Filter Copy Cat Fields | |
* http://gravityperks.com/ | |
*/ | |
add_filter( 'gpcc_copy_cat_fields_126', function( $fields, $form ) { | |
$fields[44] = array( | |
array( | |
'source' => 44, | |
'target' => 45, | |
'sourceFormId' => $form['id'], | |
'targetFormId' => $form['id'] | |
) | |
); | |
return $fields; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👉 This Gist has been migrated to the Gravity Wiz Snippet Library:
https://github.com/gravitywiz/snippet-library/blob/master/gp-copy-cat/gpcc-set-copy-cat-fields.php