Add class on get_avatar image

Question

I try to add custom class on get avatar in comment walker

get_avatar( $comment, $args['avatar_size'], '', '', array('class' => 'myclass') );

But class doesn’t show in source code.
Thx

0
, , David Sticker 1 year 2020-07-16T03:10:30-05:00 0 Answers 62 views 0

Leave an answer

Browse
Browse