PDA

View Full Version : Extending process_logout()


digitalstudio
02-19-2009, 11:55 AM
Hi.

I need to add a bit of extra functionality after process_logout() is called. I've looked into the code and found the following line:

($hook = vBulletinHook::fetch_hook('logout_process')) ? eval($hook) : false;

Therefore, I assume I can write some sort of plugin (containing my custom code) that calls the logout_process hook. Is this assumption correct? And if so, how would I go about it?

Thanks.

Dismounted
02-20-2009, 03:31 AM
<a href="http://www.vbulletin.com/docs/html/plugin_system" target="_blank">Plugin System</a>