function mailchimp_subscribe_message in Mailchimp 6
Same name and namespace in other branches
- 5.2 mailchimp.module \mailchimp_subscribe_message()
- 5 mailchimp.module \mailchimp_subscribe_message()
1 string reference to 'mailchimp_subscribe_message'
- mailchimp_menu in ./
mailchimp.module - Implementation of hook_menu.
File
- ./
mailchimp.module, line 511 - Mailchimp module.
Code
function mailchimp_subscribe_message() {
if ($_GET['success']) {
return variable_get('mailchimp_subscription_success_message', SUBSCRIPTION_SUCCESS);
}
else {
return variable_get('mailchimp_subscription_failure_message', SUBSCRIPTION_FAILURE);
}
}