Fixed filter hook.

This commit is contained in:
Anton Pelešev 2014-08-25 16:58:23 +03:00
parent 304393e66a
commit 77d94b25c9

View file

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