Klevu chain elements
Description: Chain elements are attached to chains. These elements are the callback functions to be executed. Some extra options allow the modification of order the callback functions have at the time of execution.
A chain element has the following possible parameters:
- name: <str> – defines name of the element, it has to be unique per chain
- position: <numeric> – optional , defines the position of the element
- fire: <function Source> – defines what needs to be executed, accepts 2 variables, data and scope of the chain