Activity::get_avatar( integer $size = 40 )

Description #

Return avatar of activity user.

Parameters #

  • $size
    integer (Optional) Size of avatar in pixel. Default value: 40

Changelog #

VersionDescription
4.1.2Introduced.

Source #

File: includes/class/class-activity.php

	public function get_avatar( $size = 40 ) {
		return get_avatar( $this->get_user_id(), $size );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment