bbp_get_forum_last_topic_id
bbp_get_forum_last_topic_id
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, 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: filter
Displaying hooks found in version: bbpress.2.6.9apply_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)