kudretakifoglu Posted April 2, 2014 Share Posted April 2, 2014 Hi all i have a small problem about using hooks. My hooks.php is if (!defined("WHMCS")) die("This file cannot be accessed directly"); function logout($vars) { echo "bye byeee"; } add_hook("AdminLogout",1,"logout"); in /includes/hooks When i logout with my admin account any thing happens.How can i use it straight.Thanks for helps and ideas 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.