Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • ankit.sachan
    Participant

    @ankitsachan

    We may also use some pHp Functions to get Image src only for Groups…

    $cenrte_avatar = bp_get_group_avatar( ‘type=full’ );
    $substr = substr( $cenrte_avatar, 0, strpos( $cenrte_avatar, ‘” class=”‘ ) );
    $centre_avatar_src = str_replace( ‘<img src=”‘, ”, $substr ) ;

    Thanks

Viewing 1 replies (of 1 total)
Skip to toolbar