| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/blocksy/inc/integrations/ |
Upload File : |
<?php
if (! function_exists('blocksy_cdn_url')) {
function blocksy_cdn_url($url) {
if (class_exists('BunnyCDN')) {
$bunnyCdnOptions = BunnyCDN::getOptions();
$url = str_replace(
$bunnyCdnOptions["site_url"],
(
is_ssl() ? 'https://' : 'http://'
) . $bunnyCdnOptions["cdn_domain_name"],
$url
);
}
if (function_exists('get_rocket_cdn_url')) {
$url = get_rocket_cdn_url($url);
}
return apply_filters('blocksy:frontend:static-assets:cdn', $url);
}
}