<p>Called before a specific activity summary email is sent to a user.</p>

<p>This can be used to set per-instance (per-user) display values to be set at the top of the activity summary email.</p>

<p>Instance specific display values are useful for displaying stats that are relevant to a specific user, such as their reaction score or alerts count.</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\ActivitySummary\Instance</em> &amp;$instance</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\ActivitySummary\Instance</em> &amp;$instance</code> - the Instance object for the activity summary email we are about to send.</li>
</ol>

<p>Example:</p>
<pre>public static function activitySummaryInstanceDisplayValues(\XF\ActivitySummary\Instance $instance)
{
	$instance->addDisplayValue(
		'some_value', // can be phrase title or phrase object
		1000 // value to display
	);
}</pre>