WordPress.org

Support

Support » Plugins and Hacks » W3 Total Cache » Cache for php in plugins…

Cache for php in plugins…

  • Hi,

    I work on the plugin Faceboook AWD

    I have a function in my plugins that is cailling in wp_footer();
    with an action add_action('wp_footer',array($this,lalala))

    How can i exclude this fucntion from cache ?
    I try the

    <!--MFUNC -->
    function lalala(){
    }
    <!--/mfunc -->

    That’s not working.
    Can you help me ?

Viewing 1 replies (of 1 total)
  • Plugin Author Frederick Townes

    @fredericktownes

    Fragment cache logic is executed before the entire WP core is loaded so the logic you have there won’t work unfortunately.

Viewing 1 replies (of 1 total)
  • The topic ‘Cache for php in plugins…’ is closed to new replies.
Skip to toolbar