Skip to content

Commit

Permalink
add new filter "cloudflare_purge_by_url"
Browse files Browse the repository at this point in the history
  • Loading branch information
piscis committed Jul 15, 2017
1 parent 37a4cf9 commit 44e430c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WordPress/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ public function purgeCacheByRevelantURLs($postId)
}

$urls = $this->getPostRelatedLinks($postId);
$urls = apply_filters('cloudflare_purge_by_url', $urls, $postId);

$zoneTag = $this->api->getZoneTag($wpDomain);

Expand Down

0 comments on commit 44e430c

Please sign in to comment.