Implemented new invalidation method; added filter hook. #25

Merged
plescheff merged 9 commits from master into master 2014-09-05 09:29:07 +01:00
Showing only changes of commit 77d94b25c9 - Show all commits

View file

@ -271,8 +271,8 @@ class WP_FFPC_Backend {
} while ($number_of_pages>1 && $current_page_id<=$number_of_pages);
}
/* Hook to customise clearing array. */
apply_filters('wp_ffpc_to_clear_array', $to_clear, $post_id);
/* Hook to custom clearing array. */
$to_clear = apply_filters('wp_ffpc_to_clear_array', $to_clear, $post_id);
foreach ( $to_clear as $link => $dummy ) {
/* clear all feeds as well */