Support » Plugin: W3 Total Cache » The filter w3tc_pagecache_set doesn’t seem to work

  • Resolved Ramanan

    (@superpoincare)


    The filter hook w3tc_pagecache_set doesn’t seem to work.

    I created a test page with the content ‘foo’ and when I use:

    add_filter( 'w3tc_pagecache_set', function( $_data ) {
    	return str_replace( 'foo', 'bar', $_data );
    } );

    it doesn’t seem to replace foo with bar in the cached page.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.