function _zoomapi_get_webhook_url_part in Zoom API 7.2
Get webhook url part.
1 call to _zoomapi_get_webhook_url_part()
- zoomapi_webhooks_callback in ./
zoomapi.webhooks.inc - Page callback: Zoom API Webhooks.
File
- ./
zoomapi.module, line 1399 - Main file for the Zoom API module.
Code
function _zoomapi_get_webhook_url_part($url) {
$prefix = 'zoomapi/webhook';
$parsed_url = parse_url($url);
$path = trim($parsed_url['path']);
$part = substr($path, 0, strlen($prefix)) == $prefix ? substr($url, strlen($prefix)) : '';
return $part;
}