bbp_clean_post_cache
bbp_clean_post_cache
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: action
Displaying hooks found in version: bbpress.2.6.9do_action('bbp_clean_post_cache') is found 1 times:
- /includes/core/cache.php line 158154155156157158159160161162163164
*
* @param int
$post_id
Post ID.
* @param WP_Post
$post
Post object.
*/
do_action(
'bbp_clean_post_cache'
,
$post
->ID,
$post
);
// Invalidate parent caches
if
( !
empty
(
$post
->post_parent ) ) {
clean_post_cache(
$post
->post_parent );
// Only bump `last_changed` when forum-root is reached