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

  1. eventualo
    Posted 3 years ago #

    I'm working to make work my plugin
    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.


  2. eventualo
    Posted 3 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 3 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


No tags yet.