delete cache from 3rd party php script
-
Hi,
I want to trigger a cache purge from a random php script, but it’s not working.
In short, the script looks like this:
<?PHP
include_once ‘/var/www-wp/wp-load.php’;
if ( has_action(‘cachify_flush_cache’) ) {
do_action(‘cachify_flush_cache’);
}
?>I’ve also tried to call some methods directly like Cachify::remove_page_cache_by_url but to no avail. I use Memcached.
Can you tell me what I need to do? Thank you very much.!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘delete cache from 3rd party php script’ is closed to new replies.