bbp_theme_before_topic_author

bbp_theme_before_topic_author

bbp_theme_before_topic_author
Codex Home → bbp_theme_before_topic_author
Description
The 『bbp_theme_before_topic_author』 action is used to display content before the author』s avatar and name in a forum
How to use it
Since this is an action, we can use add_action to hook into it.
Sample code example
1234add_action( 'bbp_theme_before_topic_author', 'jc_before_topic_author' );function jc_before_topic_author() {     echo 'Hello world!';}
Note: Always remember to prefix your functions to avoid conflicts!

bbp_theme_after_topic_author

bbp_theme_after_topic_author

bbp_theme_after_topic_author
Codex Home → bbp_theme_after_topic_author
Description
The 『bbp_theme_after_topic_author』 action is used to display content after the author』s avatar and name in a forum
How to use it
Since this is an action, we can use add_action to hook into it.
Sample code example
1234add_action( 'bbp_theme_after_topic_author', 'jc_after_topic_author' );function jc_after_topic_author() {     echo 'Hello world!';}
Note: Always remember to prefix your functions to avoid conflicts!

bbp_forum_last_active_id

bbp_forum_last_active_id

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

$forum_id (optional) – Displays the ID of the most recently active forum
Uses bbp_get_forum_last_active_id()
Sample code example

Displays the ID of the most recently active forum

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

bbp_get_forum_last_active_id

bbp_get_forum_last_active_id

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
$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
Returns the ID of the most recent reply within a forum
1
Returns the ID of the most recent reply within the specified forum