Created
September 6, 2015 20:46
-
-
Save NikV/90b5bf2c8d03d264c094 to your computer and use it in GitHub Desktop.
Change avatar size in an entry note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function modify_gform_notes_avatar( $note_avatar, $note ) { | |
$note_avatar = get_avatar( $note->user_id, 38 ); | |
return $note_avatar; | |
} | |
add_filter('gform_notes_avatar', 'modify_gform_notes_avatar', 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment