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