<p>Called when the visitor's User entity has been prepared.</p>

<p>Callback signature:</p>
<blockquote><code><em>\XF\Entity\User</em> &amp;$visitor</code></blockquote>

<p>Arguments:</p>
<ol>
	<li><code><em>\XF\Entity\User</em> &amp;$visitor</code> - the visitor's User entity. From this, you can inspect the user, their permissions, profile fields and all User entity relations etc.</li>
</ol>

<p>This will be called for registered members and guests.</p>