You are here

function mailchimp_process_webhook_access in Mailchimp 8

Same name and namespace in other branches
  1. 7.5 mailchimp.module \mailchimp_process_webhook_access()
  2. 7.2 mailchimp.module \mailchimp_process_webhook_access()
  3. 7.3 mailchimp.module \mailchimp_process_webhook_access()
  4. 7.4 mailchimp.module \mailchimp_process_webhook_access()

Access callback for mailchimp_process_webhook().

Parameters

string $key: The incoming webhook key.

Return value

bool Whether or not the key matches.

File

./mailchimp.module, line 1102
Mailchimp module.

Code

function mailchimp_process_webhook_access($key) {
  return $key == mailchimp_webhook_key();
}