Add event-driven behavior without changing core files.
Put PHP scripts in includes/hooks/. Lower priority numbers run first.
<?php
add_hook('ClientAreaFooterOutput', 10, function (array $vars): string {
if (empty($vars['is_logged_in'])) return '';
return '<div class="text-center small">Need help? Open a ticket.</div>';
});
Core events include client account/login events, client-area output locations, and provisioning events such as PreModuleCreate and AfterModuleCreate. Search the installed source for run_hook( to confirm the exact event and payload.