AnsPress_Notification_Query::actor_avatar( integer|string $size = 35 )

Description #

Return avatar of notification actor.

Parameters #

  • $size
    integer | string (Optional) Size of the avatar. Default value: 35

Source #

File: addons/free/notification/query.php

	public function actor_avatar( $size = 35 ) {
		if ( ! $this->hide_actor() ) {
			return get_avatar( $this->object->noti_actor, $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