[wp-trac] Re: [WordPress Trac] #9202: Add action-hooks for caching-plugins (WP Super Cache, etc)

WordPress Trac wp-trac at lists.automattic.com
Tue May 12 14:12:48 GMT 2009


#9202: Add action-hooks for caching-plugins (WP Super Cache, etc)
---------------------------+------------------------------------------------
  Reporter:  erunafailaro  |        Type:  feature request
    Status:  closed        |    Priority:  normal         
 Milestone:                |   Component:  Plugins        
   Version:                |    Severity:  normal         
Resolution:  invalid       |    Keywords:                 
---------------------------+------------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Future Release =>


Comment:

 seems a bit overkill. which hooks you'll need will depend on what you're
 caching. These are the ones you'll usually want to consider to clean
 caches:

 {{{
 'save_post',
 'delete_post',
 'add_link',
 'edit_link',
 'delete_link',
 'edit_comment',
 'comment_post',
 'wp_set_comment_status',
 'switch_theme',
 'update_option_show_on_front',
 'update_option_page_on_front',
 'update_option_page_for_posts',
 'update_option_sidebars_widgets',
 'generate_rewrite_rules',
 }}}

 they won't necessarily be valid for all caching plugins.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9202#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list