This function has been deprecated. since Forums (r5156) instead.
bbp_get_user_subscriptions( int $user_id )
Get a user’s subscribed topics
Description
Parameters
- $user_id
-
(Optional) User id
Return
(array|bool) Results if user has subscriptions, otherwise false
Source
File: bp-forums/users/functions.php
function bbp_get_user_subscriptions( $user_id = 0 ) {
_deprecated_function( __FUNCTION__, 2.5, 'bbp_get_user_topic_subscriptions()' );
$query = bbp_get_user_topic_subscriptions( $user_id );
return apply_filters( 'bbp_get_user_subscriptions', $query, $user_id );
}
Changelog
| Version | Description |
|---|---|
| bbPress (r2668) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.