The Wayback Machine - https://webcf.waybackmachine.org/web/20140726154450/http://codex.bbpress.org:80/bbp_get_forum_last_active_id/
Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_get_forum_last_active_id

Codex Home → bbp_get_forum_last_active_id

Description

The ‘bbp_get_forum_last_active_id’ function returns the ID of the most recent reply within a forum

How to use it

1
<?php bbp_get_forum_last_active_id( $forum_id ); ?>

$forum_id (optional) – Returns the ID of the most recent reply within the specified forum

Used in bbp_forum_last_active_id()

Sample code example

1
<?php $value = bbp_get_forum_last_active_id(); echo $value; ?>

Returns the ID of the most recent reply within a forum

1
<?php bbp_get_forum_last_active_id( 1 ); ?>

Returns the ID of the most recent reply within the specified forum