inc/class-Inform_About_Content.php
public static function sender_to_message( $message, $options, $id ) {

		$author    = NULL;
		$commenter = NULL;
		$parts     = array();
		if ( 'iac_post_message' == current_filter() ) {
			$post   = get_post( $id );
			$author = get_userdata( $post->post_author );
			if ( ! is_a( $author, 'WP_User' ) ) {
				return $message;
			}

			$parts = array(
				'', # linefeed
				implode(
					' ',
					array(
						$options[ 'static_options' ][ 'mail_string_by' ],
						$author->data->display_name
					)
				),
				implode(
					': ',
					array(
						$options[ 'static_options' ][ 'mail_string_url' ],
						get_permalink( $post )
					)
				)
			);
		} elseif ( 'iac_comment_message' == current_filter() ) {
			$comment   = get_comment( $id );
			$post      = get_post( $comment->comment_post_ID );
			$commenter = array(
				'name' => 'Annonymous'
			);
			if ( 0 != $comment->user_id ) {
				$author              = get_userdata( $comment->user_id );
				$commenter[ 'name' ] = $author->data->display_name;
			} else {
				if ( ! empty( $comment->comment_author ) ) {
					$commenter[ 'name' ] = $comment->comment_author;
				}
			}
			$parts = array(
				'',
				#author and title
				implode(
					' ',
					array(
						$options[ 'static_options' ][ 'mail_string_by' ],
						$commenter[ 'name' ],
						$options[ 'static_options' ][ 'mail_string_to' ],
						get_the_title( $post->ID ),
					)
				),
				# the posts permalink
				implode(
					': ',
					array(
						$options[ 'static_options' ][ 'mail_string_url' ],
						get_permalink( $post )
					)
				)
			);
		}

		if ( ! empty( $parts ) ) {
			$message .= implode( PHP_EOL, $parts );
		}

		return $message;
	}
public static function sender_to_message( $message, $options, $id ) {

		$author    = NULL;
		$commenter = NULL;
		$parts     = array();
		if ( 'iac_post_message' == current_filter() ) {
			$post   = get_post( $id );
			$author = get_userdata( $post->post_author );
			if ( ! is_a( $author, 'WP_User' ) ) {
				return $message;
			}

			$parts = array(
				'', # linefeed
				implode(
					' ',
					array(
						$options[ 'static_options' ][ 'mail_string_by' ],
						$author->data->display_name
					)
				),
				implode(
					': ',
					array(
						$options[ 'static_options' ][ 'mail_string_url' ],
						get_permalink( $post )
					)
				)
			);
		} elseif ( 'iac_comment_message' == current_filter() ) {
			$comment   = get_comment( $id );
			$post      = get_post( $comment->comment_post_ID );
			$commenter = array(
				'name' => 'Annonymous'
			);
			if ( 0 != $comment->user_id ) {
				$author              = get_userdata( $comment->user_id );
				$commenter[ 'name' ] = $author->data->display_name;
			} else {
				if ( ! empty( $comment->comment_author ) ) {
					$commenter[ 'name' ] = $comment->comment_author;
				}
			}
			$parts = array(
				'',
				#author and title
				implode(
					' ',
					array(
						$options[ 'static_options' ][ 'mail_string_by' ],
						$commenter[ 'name' ],
						$options[ 'static_options' ][ 'mail_string_to' ],
						get_the_title( $post->ID ),
					)
				),
				# the posts permalink
				implode(
					': ',
					array(
						$options[ 'static_options' ][ 'mail_string_url' ],
						get_permalink( $post )
					)
				)
			);
		}

		if ( ! empty( $parts ) ) {
			$message .= implode( PHP_EOL, $parts );
		}

		return $message;
	}
add information about sender to the end of the
content

@wp_hook iac_post_message
@wp_hook iac_comment_message
@since 2013-07-18

@param string $message
@param array $options
@param $id

@return string