• Trying to flush a page (home page) from external script through w3tc_pgcache_flush_url().

    if (function_exists(‘w3tc_pgcache_flush_url’)) {
    $_fine = w3tc_pgcache_flush_url(‘url_name’);
    echo ‘$_fine’.$_fine;
    }

    I passed complete url and the no boolean value returned. tried to without https://, still didn’t work. Anyone has sample code or input? Greatly appreciated. I don’t want to use w3tc_pgcache_flush() to get rid of all the pages.

    https://www.ads-software.com/extend/plugins/w3-total-cache/

  • The topic ‘How to pass a page url?’ is closed to new replies.