Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar file name?

  • @ssr92

    Member

    Hi,
    How to calculate the avatar filename?
    Example : 4ad4e42876148e5930307699dee8bd7f-bpfull.jpg
    I read this code
    $email = apply_filters( ‘bp_core_gravatar_email’, $email, $item_id, $object );
    $gravatar = apply_filters( ‘bp_gravatar_url’, $host ) . md5( strtolower( $email ) ) . ‘?d=’ . $default_grav . ‘&s=’ . $grav_size;

    but I have no clue what this first line does.
    $email = apply_filters( ‘bp_core_gravatar_email’, $email, $item_id, $object );
    Any help?

    Regards,

Viewing 1 replies (of 1 total)
  • @willmk

    Participant

    Same issue here! Does nobody knows how to calculate the buddypress avatar’s filename? I need to access the avatars’s urls to show in an external non-wordpress website the members!
    Waiting..

Viewing 1 replies (of 1 total)
  • The topic ‘Avatar file name?’ is closed to new replies.
Skip to toolbar