bbp_update_forum_topic_count

bbp_update_forum_topic_count

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_update_forum_topic_count') is found 1 times:

  • /includes/forums/functions.php line 1850
    	update_post_meta( $forum_id, '_bbp_topic_count',       $topics       );
    	update_post_meta( $forum_id, '_bbp_total_topic_count', $total_topics );
    
    	// Filter & return
    	return (int) apply_filters( 'bbp_update_forum_topic_count', $total_topics, $forum_id );
    }
    
    /**
     * Adjust the total hidden topic count of a forum (hidden includes trashed,
     * spammed and pending topics)
     *