WordPress.org

Ready to get started?Download WordPress

Ideas

Add Custom Class to get_avatar()

  1. JAZZPATHS
    Member

    12345

    Hi,

    it would be nice to add 'custom class' feature to the get_avatar() function. The new function could accept an extra parameter and would looks like that:

    get_avatar( $id_or_email, $size, $default, $alt, $class );

    where $class parameter contains the custom class to add to the <img /> resulting tag.

    Hope you'll like this one.

    Posted: 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    This idea is under consideration