Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar file name?

  • Avatar of ssr92
    ssr92
    Member

    @ssr92

    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)
  • 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)

You must be logged in to reply to this topic.