bbp_clean_post_cache

bbp_clean_post_cache

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_clean_post_cache') is found 1 times:

  • /includes/core/cache.php line 158
    	 *
    	 * @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