B
B
Bagromir622019-09-18 22:21:42
opencart
Bagromir62, 2019-09-18 22:21:42

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

1 answer(s)
M
maiskiykot, 2019-09-20
@maiskiykot

So write down what you need. So far, one stream of consciousness - no specifics

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question