Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_forum_last_active_id

Codex Home → bbp_forum_last_active_id

Description

The ‘bbp_forum_last_active_id’ function displays the ID of the most recently active forum

How to use it

<?php bbp_forum_last_active_id( $forum_id ); ?>

$forum_id (optional) – Displays the ID of the most recently active forum

Uses bbp_get_forum_last_active_id()

Sample code example

<?php bbp_forum_last_active_id(); ?>

Displays the ID of the most recently active forum

<?php bbp_forum_last_active_id( '1' ); ?>

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

Skip to toolbar