Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Done. You can download the dev version https://github.com/lesterchan/wp-polls/archive/master.zip and use the hook wp_polls_add_poll

    Thread Starter jjchinquist

    (@jjchinquist)

    Apologies for the late response, and thank you very much for the quick response.

    The hook will help, and we can add the hook instance to our functions.php file without issue.

    It seems like there should be a magic event in WP-Super-Cache that does the cache refresh. From what I can see, a wp-poll is a custom WP_Widget which has the usual CRUD actions. I see that the form in polls-manager.php will be submitted, but do not see where that goes exactly.

    As a WP_Widget, the basic hooks that WP executes should also be executed, correct? Therefore the WP-Super-Cache module should know when to listen to it. The issue is that we want to clear all cached pages as opposed to simply the widget cache itself. There is certainly a magic way to do this, will get back to you.

    My first chance to test your dev version is next week Tuesday, so will confirm then if things are working.

    Thread Starter jjchinquist

    (@jjchinquist)

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

The topic ‘While using WP-Super-Cache, the action publish Poll does not delete cache’ is closed to new replies.