bbp_get_forum_last_topic_id

bbp_get_forum_last_topic_id

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_forum_last_topic_id') is found 1 times:

  • /includes/forums/template.php line 873
    		$forum_id = bbp_get_forum_id( $forum_id );
    		$topic_id = (int) get_post_meta( $forum_id, '_bbp_last_topic_id', true );
    
    		// Filter & return
    		return (int) apply_filters( 'bbp_get_forum_last_topic_id', $topic_id, $forum_id );
    	}
    
    /**
     * Output the title of the last topic inside a forum
     *
     * @since 2.0.0 bbPress (r2625)