From 88a474d6a685b9ebac9fb53e569a511666ec7bb1 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Mon, 30 Apr 2018 16:02:01 -0700 Subject: [PATCH] Add a filter on the domain after the CDN domain is swapped in --- includes/functions/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions/core.php b/includes/functions/core.php index 303808a..8588580 100644 --- a/includes/functions/core.php +++ b/includes/functions/core.php @@ -306,5 +306,5 @@ function filter_cb( $matches ) { . ( $add_slashes ? addcslashes("//{$url}/", '/') : "//{$url}/" ) . "{$matches[3]}.{$matches[4]}{$query_string}{$matches[1]}"; - return $result; + return apply_filters( 'dynamic_cdn_filter_cb_result', $result ); }