function mailchimp_webhook_url in Mailchimp 7.4
Same name and namespace in other branches
- 8 mailchimp.module \mailchimp_webhook_url()
- 7.5 mailchimp.module \mailchimp_webhook_url()
- 7.2 mailchimp.module \mailchimp_webhook_url()
- 7.3 mailchimp.module \mailchimp_webhook_url()
- 2.x mailchimp.module \mailchimp_webhook_url()
Generate the webhook endpoint URL.
@string $list_id
Return value
string The endpoint URL.
2 calls to mailchimp_webhook_url()
- mailchimp_lists_overview_page in modules/
mailchimp_lists/ includes/ mailchimp_lists.admin.inc - Administrative display showing existing lists and allowing edits/adds.
- mailchimp_lists_webhook_form_submit in modules/
mailchimp_lists/ includes/ mailchimp_lists.admin.inc - Submit handler for mailchimp_lists_webhook_form().
File
- ./
mailchimp.module, line 1489 - Mailchimp module.
Code
function mailchimp_webhook_url() {
return $GLOBALS['base_url'] . '/mailchimp/webhook/' . mailchimp_webhook_key();
}