wp_super_cache_clear_post_cache
wp_super_cache_clear_post_cache
Appears in: wp-super-cache.1.9.3
Hook Type: filter
Displaying hooks found in version: wp-super-cache.1.9.3apply_filters('wp_super_cache_clear_post_cache') is found 1 times:
- /wp-cache-phase2.php line 310030963097309830993100310131023103310431053106
return
$post_id
;
}
// Allow plugins to reject cache clears for specific posts.
if
( ! apply_filters(
'wp_super_cache_clear_post_cache'
, true,
$post
) ) {
return
$post_id
;
}
// Some users are inexplicibly seeing this error on scheduled posts.
// define this constant to disable the post status check.
if
( ! defined(
'WPSCFORCEUPDATE'
) && ! in_array( get_post_status(
$post
),
array
(
'publish'
,
'private'
), true ) ) {