WordPress.org

Plugin Directory

Changeset 578012


Ignore:
Timestamp:
07/27/12 09:48:00 (21 months ago)
Author:
donncha
Message:

Updated docs on late init, props Storm. http://wordpress.org/support/topic/plugin-wp-super-cache-mfunc-issue?replies=4#post-3018123

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-super-cache/trunk/readme.txt

    r561641 r578012  
    353353 
    354354There are a few ways to do this, you can have functions that stay dynamic or you can include other files on every page load. To execute PHP code on every page load you can use either the "dynamic-cached-content", "mfunc", or "mclude" tags. The "dynamic-cached-content" tag is easier to use but the other tags can still be used. Make sure you duplicate the PHP code when using these tags. The first code is executed when the page is cached, while the second chunk of code is executed when the cached page is served to the next visitor. 
    355 To execute WordPress functions you must define $wp_super_cache_late_init in your config file. 
     355To execute WordPress functions you must enable the 'Late init' feature on the advanced settings page. 
    356356 
    357357= dynamic-cached-content example = 
Note: See TracChangeset for help on using the changeset viewer.