Fixed filter hook.
This commit is contained in:
parent
304393e66a
commit
77d94b25c9
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue