Adds a hook in account menu for plugins

main
Yasen Pramatarov 2025-11-27 13:02:51 +02:00
parent 1252c421bc
commit 9d93106d00
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=credentials"> <a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=credentials">
<i class="fas fa-shield-alt"></i>Login credentials <i class="fas fa-shield-alt"></i>Login credentials
</a> </a>
<?php do_hook('account_menu', ['app_root' => $app_root]); ?>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=logout"> <a class="dropdown-item modern-dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=logout">
<i class="fas fa-sign-out-alt"></i>Logout <i class="fas fa-sign-out-alt"></i>Logout