I want to run code whenever a new tca record is created. Is there a hook I can use?
What i want do do:
I have products. Each product has many nutritions. Every time I create a new Product I want to generate a set of default nutritions.
There are several hooks, that you can use while operating on records in BackEnd, take a look ie: for this question .
Sorry, as your question is very broad, I won't give you any samples.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.