Skip to:
Content
Pages
Categories
Search
Top
Bottom

make avatar blurry


  • alexmcxl
    Participant

    @alexmcxl

    is it possible to make the avatar blurry with this filter, any tip is welcome

    add_filter( ‘bp_get_displayed_user_avatar’, function( $array ) {
    if ( pmpro_hasMembershipLevel(‘Premium’) ) {
    return $array;
    } else {
    return $array;?????????
    }
    } );

    BP 2.9.3
    WP 4.9.4
    Local by flywheel

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

  • alexmcxl
    Participant

    @alexmcxl

    Nothing blurry was working, but I changed the picture, if anyone can use this, this works !!!

    add_filter( ‘bp_get_displayed_user_avatar’, function( $array ) {
    if ( pmpro_hasMembershipLevel(‘Premium’) ) {
    return $array;
    } else {
    return ‘‘;
    }
    } );

    I would like to do the same for cover_image_header

    any help is welcome !


    alexmcxl
    Participant

    @alexmcxl

    after the return comes

    `’

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar