• Resolved Super Pel

    (@oiewhfufbhjsdfjbkfskjduhuyuy)


    hello, thanks for this awesome plugin,

    I wanna ask if it possible to get cache file path of a post using php function / class?, i want to use it in my self-developed plugin.

    for example

    getWpFcCachePath($post_id);

    expected return “/wp-content/cache/all/hello-world/index.html”

    thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Emre Vona

    (@emrevona)

    Here is a example. you can replace the $_SERVER[“REQUEST_URI”] with slug.

    $GLOBALS["wp_fastest_cache"]->getWpContentDir("/cache/all/").$_SERVER["REQUEST_URI"];

Viewing 1 replies (of 1 total)

The topic ‘get cache file path from php’ is closed to new replies.