bbp_get_forum_last_topic_title
bbp_get_forum_last_topic_title
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_title') is found 1 times:
- /includes/forums/template.php line 900896897898899900901902903904905906
$topic_id
= bbp_get_forum_last_topic_id(
$forum_id
);
$title
= !
empty
(
$topic_id
) ? bbp_get_topic_title(
$topic_id
) :
''
;
// Filter & return
return
apply_filters(
'bbp_get_forum_last_topic_title'
,
$title
,
$forum_id
);
}
/**
* Output the link to the last topic in a forum
*
* @since 2.0.0 bbPress (r2464)