bbp_get_subscribers( int $object_id, $type = 'post' )
Get the users who have subscribed
Description Description
Parameters Parameters
- $object_id
-
(Optional) ID of object (forum, topic, or something else)
Source Source
File: includes/users/engagements.php
function bbp_get_subscribers( $object_id = 0, $type = 'post' ) { $users = bbp_get_users_for_object( $object_id, '_bbp_subscription', $type ); // Filter & return return (array) apply_filters( 'bbp_get_subscribers', $users, $object_id, $type ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |