From 77d94b25c9f7d6483e7b7885e51bf12698dbc30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Peles=CC=8Cev?= Date: Mon, 25 Aug 2014 16:58:23 +0300 Subject: [PATCH] Fixed filter hook. --- wp-ffpc-backend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-ffpc-backend.php b/wp-ffpc-backend.php index 55c5441..152e19a 100644 --- a/wp-ffpc-backend.php +++ b/wp-ffpc-backend.php @@ -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 */