Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group avatar in activity


  • arzuman26
    Participant

    @arzuman26

    Help please. How can I remove group avatar from activity? Avatar displays in posts like %1$s created the group %2$s.

Viewing 2 replies - 1 through 2 (of 2 total)

  • arzuman26
    Participant

    @arzuman26

    Help please.


    danbp
    Participant

    @danbp

    hi @arzuman26,

    try this (add to bp-custom or functions.php)

    function remove_group_activity_avatar() {
    	if ( bp_is_active( 'activity' ) || 'groups' == $object && bp_is_active( 'groups' ) ) {
    		$avatar = false;
    	}
    }
    add_filter( 'bp_get_activity_secondary_avatar', 'remove_group_activity_avatar' );
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Group avatar in activity’ is closed to new replies.
Skip to toolbar