theotoke Posted February 16, 2022 Share Posted February 16, 2022 Hello! I'm trying to make a simple hook to echo something, but it's not working on the admin area. My WHMCS version is 8.2.1 This is my code: <?php use WHMCS\Session; use WHMCS\Ticket\Watchers; function testing($vars) { echo 'test'; } add_hook("AdminAreaViewTicketPage",1,"testing"); It works on normal client pages like ClientAreaPageProductDetails etc, but not on admin area ones. Am i missing something? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.