BBP_BuddyPress_Members::get_subscriptions_permalink( string $url, int $user_id )
Override Forums subscriptions URL with BuddyBoss profile URL
Description
Parameters
- $url
-
(Required)
- $user_id
-
(Required)
Return
(string)
Source
File: bp-forums/members.php
public function get_subscriptions_permalink( $url, $user_id ) { $component_slug = bbpress()->extend->buddypress->slug; $url = trailingslashit( bp_core_get_user_domain( $user_id ) . $component_slug . '/' . bbp_get_user_subscriptions_slug() ); return $url; }
Changelog
Version | Description |
---|---|
bbPress (r3721) | 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.