* @since bbPress (r2688)
*
* @param int $user_id Optional. User id
* @uses bbp_get_user_profile_url() To get the user profile url
* @uses apply_filters() Calls 'bbp_get_subscriptions_permalink' with
* the user profile url and user id
* @return string Permanent link to user subscriptions page
*/
function bbp_get_subscriptions_permalink( $user_id = 0 ) {
return apply_filters( 'bbp_get_subscriptions_permalink', bbp_get_user_profile_url( $user_id ), $user_id );
}
/**
* Output the link to subscribe/unsubscribe from a topic
*
* @since bbPress (r2668)
*
* @param mixed $args See {@link bbp_get_user_subscribe_link()}
* @uses bbp_get_user_subscribe_link() To get the subscribe link
*/