Código PHP:
Ver originalfunction location_form_handler($formData) // Use a different function name for each form
{
$formName = 'General'; // change this to your form's name
$fieldName = 'carrera'; // change this to your field's name
$newFieldName = $fieldName . '_carrera';
my_custom_function($formData);//AQUI ENVIAMOS LA INFO AL LOG
return form_with_pipes_handler($formName, $fieldName, $newFieldName, $formData);//LUEGO REALIZAMOS EL RETORNO HABITUAL
}
function my_custom_function($cf7) {
$req_dump = print_r($_REQUEST, TRUE); $fp = fopen('request.log', 'a');
}
imagino que quisiste decir de una función a otra función, prueba asi