php - WHMCS, how can I run code only once
I have create some functions that are hooked on several WHMCS hooks. Some of my functions are require to be a new table in database that I create for my functionality.
What I like to do is to programmatically create the table into Database, but run the code that generate the table only one time and never run that code again.
Is there any way or a good idea on how to do that ?