• Resolved mrimpact

    (@mrimpact)


    Hello Guys!

    First, many congratulations to the plugin.

    See if you can help me please:
    I am using the WP Fastest Cache plugin …

    I’m using this plug-in to make edits, prices, names, and bulk inventories out of the product on the products page in the backend.

    This way, the cache is not being cleaned on the front end products.
    I know I need to create a hook or an action, and that you use update_post_meta.

    But I do not know how to do this, can you help me?

    Thank you so much again!

    • This topic was modified 7 years ago by mrimpact.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    Hi there,

    You can use the same hook I send you at the support forum of LiteSpeed Cache (https://ww.wp.xz.cn/support/topic/plugin-admin-columns-pro/#post-11606019)

    The example on the following page shows how you can use the hook to flush your cache or just save the post. I expect that the cache plugin also invalidates their cache when a post is saved.

    https://www.admincolumns.com/documentation/action-reference/acp-editing-saved/

    So first try the example on the page. If that does not work, you have to find the method for WP Fastest Cache to clear the cache yourself and trigger that in the hook yourself.

    Thread Starter mrimpact

    (@mrimpact)

    Hi @dungengronovius,

    Thanks for your quick reply.

    I copied and pasted the 2 codes, nothing works.
    https://d.pr/free/i/IHH89k

    Can you tell me the final code for this to work?
    I do not quite understand these codes.

    Thank you so much again!

    Plugin Author Stefan van den Dungen Gronovius

    (@dungengronovius)

    I would expect that the first hook should work. This hook runs wp_update_post for every post type overview. I was hoping that the cache plugin works on that hook to clear the cache but apparently, that does not work.

    The second hook is an example and you don’t need it for you use case.
    Do you know which method is used to flush the cache with Cache plugin?
    You need to place that method inside our hook. I can’t help you with the Cache plugin though.

    Thread Starter mrimpact

    (@mrimpact)

    Thanks for your help! I will continue with the litespeed cache plugin, everything works perfectly.

    Have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP Fastest Cache’ is closed to new replies.