function webform_ip_address in Webform 7.4
Returns an IP Address or anonymized IP Address for confidential webforms.
2 calls to webform_ip_address()
- template_preprocess_webform_mail_message in ./
webform.module - Prepare to theme the contents of e-mails sent by webform.
- webform_submission_create in includes/
webform.submissions.inc - Given set of $form_state values, prepare a psuedo-submission.
1 string reference to 'webform_ip_address'
File
- ./
webform.module, line 5316 - This module provides a simple way to create forms and questionnaires.
Code
function webform_ip_address($node) {
return $node->webform['confidential'] ? t('(unknown)') : ip_address();
}