thanks for the tip, searched on the internet,
was able to output as an object, did it
$post_id = get_the_ID();
$group_id = get_post_meta( $post_id, ‘_bcg_group_id’, true );
$group_obj = groups_get_group ( $group_id );
$href = bp_get_group_permalink( $group_obj );
Author: *a href=”<?php echo $href;?>”><?php echo bp_group_name( $group_obj );?></a*
this works for me,
maybe there is another way,
thanks for helping.
- This reply was modified 1 year, 8 months ago by Vlad.