diff --git a/wp/wp-content/themes/medicalalert/functions.php b/wp/wp-content/themes/medicalalert/functions.php index e512d5da..fb83b6fa 100644 --- a/wp/wp-content/themes/medicalalert/functions.php +++ b/wp/wp-content/themes/medicalalert/functions.php @@ -8,13 +8,11 @@ function post_to_salesforce_and_five9( $entry, $form ) { function post_to_salesforce( $entry, $form ) { $salesforceEnvironment = get_option('select-environment'); - + $Campaign_ID = $_SESSION["SESScampaignid"]; if ($salesforceEnvironment == 'full') { - $Campaign_ID = '7011I000000dF9n'; $sfdc_oid = '00DDh0000009Umu'; $webtolead_url = 'https://test.salesforce.com/servlet/servlet.WebToLead'; } else { - $Campaign_ID = '7011I000000dDwA'; $sfdc_oid = '00D1I000000mJ0Q'; $webtolead_url = 'https://webto.salesforce.com/servlet/servlet.WebToLead'; }