Changeset 25733 for trunk/src/wp-includes/class-feed.php
- Timestamp:
- 10/08/2013 08:06:29 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-feed.php
r25616 r25733 24 24 $this->name = 'feed_' . $filename; 25 25 $this->mod_name = 'feed_mod_' . $filename; 26 $this->lifetime = apply_filters('wp_feed_cache_transient_lifetime', $this->lifetime, $filename); 26 27 $lifetime = $this->lifetime; 28 /** 29 * Filter the transient lifetime of the feed cache. 30 * 31 * @since 2.8.0 32 * 33 * @param int $lifetime Cache duration in seconds. Default is 43200 seconds (12 hours). 34 * @param string $filename Unique identifier for the cache object. 35 */ 36 $this->lifetime = apply_filters( 'wp_feed_cache_transient_lifetime', $lifetime, $filename); 27 37 } 28 38
Note: See TracChangeset
for help on using the changeset viewer.