Warning: This function has been deprecated. bbPress (r6543) instead.
bbp_get_topic_subscribers( int $topic_id )
Get the users who have subscribed to the topic
Description Description
Parameters Parameters
- $topic_id
-
(Optional) Topic id
Return Return
(array|bool) Results if the topic has any subscribers, otherwise false
Source Source
File: includes/users/engagements.php
function bbp_get_topic_subscribers( $topic_id = 0 ) { $users = bbp_get_users_for_object( $topic_id, '_bbp_subscription' ); // Filter & return return (array) apply_filters( 'bbp_get_topic_subscribers', $users, $topic_id ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | bbPress (r6543) |
2.0.0 | Introduced. |