function mailchimp_webhook_url in Mailchimp 8
Same name and namespace in other branches
- 7.5 mailchimp.module \mailchimp_webhook_url()
- 7.2 mailchimp.module \mailchimp_webhook_url()
- 7.3 mailchimp.module \mailchimp_webhook_url()
- 7.4 mailchimp.module \mailchimp_webhook_url()
- 2.x mailchimp.module \mailchimp_webhook_url()
Generates the webhook endpoint URL.
Return value
string The endpoint URL.
2 calls to mailchimp_webhook_url()
- MailchimpListsWebhookSettingsForm::submitForm in modules/
mailchimp_lists/ src/ Form/ MailchimpListsWebhookSettingsForm.php - Form submission handler.
- mailchimp_lists_enabled_webhook_events in modules/
mailchimp_lists/ mailchimp_lists.module - Returns an array of enabled webhook events.
File
- ./
mailchimp.module, line 1162 - Mailchimp module.
Code
function mailchimp_webhook_url() {
return $GLOBALS['base_url'] . '/mailchimp/webhook/' . mailchimp_webhook_key();
}