gpcc_copy_cat_fields
Description
Modify the data that will be passed to the Copy Cat script on the frontend.
Usage
Applied globally
add_filter( 'gpcc_copy_cat_fields', 'my_custom_function' );
Applied to specific form
add_filter( 'gpcc_copy_cat_fields_FORMID', 'my_custom_function' );
Parameters
$copy_fields
array
{ An array of data that dictates which fields should be copied to which. @type int|string $source The field ID from which the value will be retrieved. @type int|string $target The field ID to which the value will be copied. @type int $sourceFormId The ID of the form from which the value will be retrieved. @type int $targetFormId The ID of the form to which the value will be copied. }
$form
array
The current form object.
Since
1.4.3
Hook added.