File "pagely.php"
Full Path: /home/concvitk/public_html/wp-content/plugins/wp-rocket/inc/3rd-party/hosting/pagely.php
File size: 359 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
defined( 'ABSPATH' ) || exit;
/**
* Call the cache server to purge the cache with Pagely hosting.
*
* @since 2.5.7
*
* @return void
*/
function rocket_clean_pagely() {
if ( class_exists( 'PagelyCachePurge' ) ) {
$purger = new PagelyCachePurge();
$purger->purgeAll();
}
}
add_action( 'rocket_after_clean_domain', 'rocket_clean_pagely' );