From 45317b664242d9cf37395a61227f057a5385d3c8 Mon Sep 17 00:00:00 2001
From: swissspidy <hello@pascalbirchler.ch>
Date: Mon, 7 Oct 2013 15:29:35 +0200
Subject: [PATCH] Hooks Docs: wp-includes/class-feed.php
---
src/wp-includes/class-feed.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/wp-includes/class-feed.php b/src/wp-includes/class-feed.php
index 342e04d..0ec0739 100644
|
a
|
b
|
class WP_Feed_Cache_Transient {
|
| 23 | 23 | function __construct($location, $filename, $extension) { |
| 24 | 24 | $this->name = 'feed_' . $filename; |
| 25 | 25 | $this->mod_name = 'feed_mod_' . $filename; |
| | 26 | |
| | 27 | /** |
| | 28 | * Filters the feed cache transient lifetime. |
| | 29 | * |
| | 30 | * Allows to change the cache duration of the feed |
| | 31 | * |
| | 32 | * @since 2.8.0 |
| | 33 | * |
| | 34 | * @param int $this->lifetime The lifetime of the transient. Default is 12 hours. |
| | 35 | * @param string $filename Unique identifier for the cache object |
| | 36 | */ |
| 26 | 37 | $this->lifetime = apply_filters('wp_feed_cache_transient_lifetime', $this->lifetime, $filename); |
| 27 | 38 | } |
| 28 | 39 | |