You are here

function mailchimp_webhook_url in Mailchimp 7.2

Same name and namespace in other branches
  1. 8 mailchimp.module \mailchimp_webhook_url()
  2. 7.5 mailchimp.module \mailchimp_webhook_url()
  3. 7.3 mailchimp.module \mailchimp_webhook_url()
  4. 7.4 mailchimp.module \mailchimp_webhook_url()
  5. 2.x mailchimp.module \mailchimp_webhook_url()

Generate the webhook endpoint URL.

Return value

string The endpoint URL.

2 calls to mailchimp_webhook_url()
mailchimp_lists_list_form_submit in modules/mailchimp_lists/includes/mailchimp_lists.admin.inc
Submit handler for mailchimp_lists_list_form().
mailchimp_lists_update_7203 in modules/mailchimp_lists/mailchimp_lists.install
Update list webhook endpoint URLs to be more secure.

File

./mailchimp.module, line 469
Mailchimp module.

Code

function mailchimp_webhook_url() {
  return $GLOBALS['base_url'] . '/mailchimp/webhook/' . mailchimp_webhook_key();
}