Answer the question
In order to leave comments, you need to log in
How to attach specified PHP function to specified hook in OpenCart?
It is necessary that the function from the OpenCart plugin be called when the site page is updated.
WordPress has the add_action() function.
Is there something similar in OpenCart? If yes, please tell me how to do it.
I found something about the Event class on the Internet, but did not figure out how to work with it. And I'm not completely sure that this is the class I need. I will be grateful for help.
Answer the question
In order to leave comments, you need to log in
So write down what you need. So far, one stream of consciousness - no specifics
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question