We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bp_core_get_user_domain
1 parent e535b9c commit 180f11dCopy full SHA for 180f11d
integration/class-buddypress.php
@@ -7,6 +7,8 @@ public static function init() {
7
}
8
9
public static function add_user_metadata( $object, $author_id ) {
10
+ $object->url = bp_core_get_user_domain( $author_id ); //add BP member profile URL as user URL
11
+
12
// add BuddyPress' cover_image instead of WordPress' header_image
13
$cover_image_url = bp_attachments_get_attachment( 'url', array( 'item_id' => $author_id ) );
14
0 commit comments