WordPress.org

Forums

Simple Local Avatars
[resolved] Filter request for better integration (3 posts)

  1. eventualo
    Member
    Posted 2 years ago #

    I'm working to make work my plugin
    http://wordpress.org/extend/plugins/avatar-tooltip/
    with yours.
    I have to use your plugin filter simple_local_avatar to add a [rel] attribute to avatar image tag.
    I'd like to have a 2nd parameter in that filter hook: the $id_or_email.
    The new hook line should be (simple-local-avatar-php, line 91)

    return apply_filters( 'simple_local_avatar', $avatar, $id_or_email );

    Do you agree about it? Can you make it? Thank you.

    http://wordpress.org/extend/plugins/simple-local-avatars/

  2. eventualo
    Member
    Posted 2 years ago #

    I'm sorry... After new tests I realized that I don't need this modification in your plugin code. I found a way editing my plugin code.
    BTW maybe this requested modification can be useful for someone else.

  3. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 2 years ago #

    There's already a comparable filter in there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Local Avatars
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.